<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/libgit2.git, branch rb/commit-modified-file</title>
<subtitle>github.com: libgit2/libgit2.git
</subtitle>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/'/>
<entry>
<title>Add git_diff_commit and last-changed example</title>
<updated>2014-04-21T17:34:33+00:00</updated>
<author>
<name>Russell Belfer</name>
<email>rb@github.com</email>
</author>
<published>2013-11-15T22:02:54+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=044afa4172ee46acf55f943eb9ea1210017b76d3'/>
<id>044afa4172ee46acf55f943eb9ea1210017b76d3</id>
<content type='text'>
This adds a new diff API `git_diff_commit` which makes it easy to
generate a `git_diff` object that represents the changes in a given
commit.  It follows the core Git rules for considering changes in
a merge commit - i.e. if a file has an exact match in any parent
of the commit, then the file is considered unmodified by the merge.

This also adds a new example program "last-changed" which takes a
list of filenames and for each one displays the SHA of the last
commit that changed that file.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This adds a new diff API `git_diff_commit` which makes it easy to
generate a `git_diff` object that represents the changes in a given
commit.  It follows the core Git rules for considering changes in
a merge commit - i.e. if a file has an exact match in any parent
of the commit, then the file is considered unmodified by the merge.

This also adds a new example program "last-changed" which takes a
list of filenames and for each one displays the SHA of the last
commit that changed that file.
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #2275 from jacquesg/apple-warning</title>
<updated>2014-04-21T16:50:43+00:00</updated>
<author>
<name>Russell Belfer</name>
<email>rb@github.com</email>
</author>
<published>2014-04-21T16:50:43+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=28750a7d98ce5e23bac5c1d119109ded8e8aab73'/>
<id>28750a7d98ce5e23bac5c1d119109ded8e8aab73</id>
<content type='text'>
Check for compiler flag support instead of checking for a platform</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Check for compiler flag support instead of checking for a platform</pre>
</div>
</content>
</entry>
<entry>
<title>attrcache: fix use-after-free</title>
<updated>2014-04-21T14:38:52+00:00</updated>
<author>
<name>Carlos Martín Nieto</name>
<email>cmn@dwim.me</email>
</author>
<published>2014-04-21T14:38:52+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=783993101949040865ea933eb73e35df806249b0'/>
<id>783993101949040865ea933eb73e35df806249b0</id>
<content type='text'>
Reported by coverity.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Reported by coverity.
</pre>
</div>
</content>
</entry>
<entry>
<title>sysdir: free the path if we cannot find the file</title>
<updated>2014-04-21T13:48:05+00:00</updated>
<author>
<name>Carlos Martín Nieto</name>
<email>cmn@dwim.me</email>
</author>
<published>2014-04-21T13:48:05+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=a15d3537bb52450f75ad63642b6bcbbcc6fdc374'/>
<id>a15d3537bb52450f75ad63642b6bcbbcc6fdc374</id>
<content type='text'>
Returning an error cleared the buf, but this operation does not free the
memory associated with it. Use git_buf_free() instead.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Returning an error cleared the buf, but this operation does not free the
memory associated with it. Use git_buf_free() instead.
</pre>
</div>
</content>
</entry>
<entry>
<title>Introduce AddCFlagIfSupported CMake macro</title>
<updated>2014-04-19T21:07:50+00:00</updated>
<author>
<name>Jacques Germishuys</name>
<email>jacquesg@striata.com</email>
</author>
<published>2014-04-19T21:07:50+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=5c8d5eac35794391c935e273612744a0684beb29'/>
<id>5c8d5eac35794391c935e273612744a0684beb29</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #2273 from jacquesg/ssh-interactive</title>
<updated>2014-04-19T16:59:09+00:00</updated>
<author>
<name>Vicent Marti</name>
<email>vicent@github.com</email>
</author>
<published>2014-04-19T16:59:09+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=bfc50f83f829afe52c10f615c4f7efa478a83098'/>
<id>bfc50f83f829afe52c10f615c4f7efa478a83098</id>
<content type='text'>
Add support for SSH keyboard-interactive authentication</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add support for SSH keyboard-interactive authentication</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #2279 from libgit2/rb/moar-eegnöre-fîxés</title>
<updated>2014-04-19T11:05:32+00:00</updated>
<author>
<name>Vicent Marti</name>
<email>vicent@github.com</email>
</author>
<published>2014-04-19T11:05:32+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=7b0f8ba9a8d714de3d4432c9b5902f3a8d8889d7'/>
<id>7b0f8ba9a8d714de3d4432c9b5902f3a8d8889d7</id>
<content type='text'>
Fix several ignore and attribute file behavior bugs</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fix several ignore and attribute file behavior bugs</pre>
</div>
</content>
</entry>
<entry>
<title>Minor fixes</title>
<updated>2014-04-18T22:45:59+00:00</updated>
<author>
<name>Russell Belfer</name>
<email>rb@github.com</email>
</author>
<published>2014-04-18T22:45:59+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=ac16bd0a94e1f7254112c7585b843bdc2d0659c1'/>
<id>ac16bd0a94e1f7254112c7585b843bdc2d0659c1</id>
<content type='text'>
Only apply LEADING_DIR pattern munging to patterns in ignore and
attribute files, not to pathspecs used to select files to operate
on.  Also, allow internal macro definitions to be evaluated before
loading all external ones (important so that external ones can
make use of internal `binary` definition).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Only apply LEADING_DIR pattern munging to patterns in ignore and
attribute files, not to pathspecs used to select files to operate
on.  Also, allow internal macro definitions to be evaluated before
loading all external ones (important so that external ones can
make use of internal `binary` definition).
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix ignore difference from git with trailing /*</title>
<updated>2014-04-18T21:42:40+00:00</updated>
<author>
<name>Russell Belfer</name>
<email>rb@github.com</email>
</author>
<published>2014-04-18T21:42:40+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=916fcbd61754f74b350ca689e27563cdbded2d30'/>
<id>916fcbd61754f74b350ca689e27563cdbded2d30</id>
<content type='text'>
Ignore patterns that ended with a trailing '/*' were still needing
to match against another actual '/' character in the full path.
This is not the same behavior as core Git.

Instead, we strip a trailing '/*' off of any patterns that were
matching and just take it to imply the FNM_LEADING_DIR behavior.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Ignore patterns that ended with a trailing '/*' were still needing
to match against another actual '/' character in the full path.
This is not the same behavior as core Git.

Instead, we strip a trailing '/*' off of any patterns that were
matching and just take it to imply the FNM_LEADING_DIR behavior.
</pre>
</div>
</content>
</entry>
<entry>
<title>Preload attribute files that may contain macros</title>
<updated>2014-04-18T21:29:58+00:00</updated>
<author>
<name>Russell Belfer</name>
<email>rb@github.com</email>
</author>
<published>2014-04-18T21:29:58+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=e3a2a04ceff1d3657629fd6a7245d9a9fc53f24b'/>
<id>e3a2a04ceff1d3657629fd6a7245d9a9fc53f24b</id>
<content type='text'>
There was a latent bug where files that use macro definitions
could be parsed before the macro definitions were loaded.  Because
of attribute file caching, preloading files that are going to be
used doesn't add a significant amount of overhead, so let's always
preload any files that could contain macros before we assemble the
actual vector of files to scan for attributes.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
There was a latent bug where files that use macro definitions
could be parsed before the macro definitions were loaded.  Because
of attribute file caching, preloading files that are going to be
used doesn't add a significant amount of overhead, so let's always
preload any files that could contain macros before we assemble the
actual vector of files to scan for attributes.
</pre>
</div>
</content>
</entry>
</feed>
