<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/libgit2.git/include/git2, branch ethomson/threads</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>Merge pull request #4721 from nelhage/max-objects</title>
<updated>2018-07-26T13:25:44+00:00</updated>
<author>
<name>Patrick Steinhardt</name>
<email>ps@pks.im</email>
</author>
<published>2018-07-26T13:25:44+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=42f8384045ca325c6885be21a89c3d8027995e03'/>
<id>42f8384045ca325c6885be21a89c3d8027995e03</id>
<content type='text'>
Add a configurable limit to the max pack size that will be indexed</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add a configurable limit to the max pack size that will be indexed</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #4692 from tiennou/examples/checkout</title>
<updated>2018-07-20T11:06:56+00:00</updated>
<author>
<name>Patrick Steinhardt</name>
<email>ps@pks.im</email>
</author>
<published>2018-07-20T11:06:56+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=ea9e2c1a4a16b572a3621d9bd7b1383365701b9e'/>
<id>ea9e2c1a4a16b572a3621d9bd7b1383365701b9e</id>
<content type='text'>
Add a checkout example</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add a checkout example</pre>
</div>
</content>
</entry>
<entry>
<title>INDEXER_MAX_OBJECTS -&gt; PACK_MAX_OBJECTS</title>
<updated>2018-07-16T03:14:33+00:00</updated>
<author>
<name>Nelson Elhage</name>
<email>nelhage@nelhage.com</email>
</author>
<published>2018-07-16T03:14:33+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=b3ca817e2822610292efe8ac5e8950931855dd7a'/>
<id>b3ca817e2822610292efe8ac5e8950931855dd7a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>ignore: improve `git_ignore_path_is_ignored` description Git analogy</title>
<updated>2018-07-13T22:37:06+00:00</updated>
<author>
<name>Igor Djordjevic</name>
<email>igor.d.djordjevic@gmail.com</email>
</author>
<published>2018-07-13T19:29:01+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=9cab93c0a01efd16297fb9beb29d9b059f8b5ff4'/>
<id>9cab93c0a01efd16297fb9beb29d9b059f8b5ff4</id>
<content type='text'>
In attempt to provide adequate Git command analogy in regards to
ignored files handling, `git_ignore_path_is_ignored` description
mentions doing `git add .` on directory containing the file, and
whether the file in question would be added or not - but behavior of
the two matches for untracked files only, making the comparison
misleading in general sense.

For tracked files, Git doesn't subject them to ignore rules, so even
if a rule applies, `git add .` would actually add the tracked file
changes to index, while `git_ignore_path_is_ignored` would still
consider the file being ignored (as it doesn't check the index, as
documented).

Let's provide `git check-ignore --no-index` as analogous Git command
example instead, being more aligned with what `git_ignore_path_is_ignored`
is about, no matter if the file in question is already tracked or not.

See issue #4720 (git_ignore_path_is_ignored documentation
misleading?, 2018-07-10)[1] for additional information.

[1] https://github.com/libgit2/libgit2/issues/4720
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In attempt to provide adequate Git command analogy in regards to
ignored files handling, `git_ignore_path_is_ignored` description
mentions doing `git add .` on directory containing the file, and
whether the file in question would be added or not - but behavior of
the two matches for untracked files only, making the comparison
misleading in general sense.

For tracked files, Git doesn't subject them to ignore rules, so even
if a rule applies, `git add .` would actually add the tracked file
changes to index, while `git_ignore_path_is_ignored` would still
consider the file being ignored (as it doesn't check the index, as
documented).

Let's provide `git check-ignore --no-index` as analogous Git command
example instead, being more aligned with what `git_ignore_path_is_ignored`
is about, no matter if the file in question is already tracked or not.

See issue #4720 (git_ignore_path_is_ignored documentation
misleading?, 2018-07-10)[1] for additional information.

[1] https://github.com/libgit2/libgit2/issues/4720
</pre>
</div>
</content>
</entry>
<entry>
<title>Add a git_libgit2_opts option to set the max indexer object count</title>
<updated>2018-07-12T05:04:28+00:00</updated>
<author>
<name>Nelson Elhage</name>
<email>nelhage@nelhage.com</email>
</author>
<published>2018-07-12T04:20:15+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=efe3f37d5fa3714263aca759126fd2e0a8a16370'/>
<id>efe3f37d5fa3714263aca759126fd2e0a8a16370</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>annotated_commit: make the refname accessible</title>
<updated>2018-07-07T11:10:50+00:00</updated>
<author>
<name>Etienne Samson</name>
<email>samson.etienne@gmail.com</email>
</author>
<published>2018-06-23T13:06:10+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=698b44639e499b23d882f8a26f3ca5fd4d94f22e'/>
<id>698b44639e499b23d882f8a26f3ca5fd4d94f22e</id>
<content type='text'>
As git_annotated_commit seems to behave like cgit's refish, it's quite
helpful to abstract away "targets" via git_annotated_commit_from_id/from_ref.
As the former is accessible via git_annotated_commit_id, make the latter
also available to users.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
As git_annotated_commit seems to behave like cgit's refish, it's quite
helpful to abstract away "targets" via git_annotated_commit_from_id/from_ref.
As the former is accessible via git_annotated_commit_id, make the latter
also available to users.</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #4536 from libgit2/ethomson/index_dirty</title>
<updated>2018-06-30T12:24:23+00:00</updated>
<author>
<name>Edward Thomson</name>
<email>ethomson@edwardthomson.com</email>
</author>
<published>2018-06-30T12:24:23+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=c43658f62ee268a0b5ee13f5764544882245063c'/>
<id>c43658f62ee268a0b5ee13f5764544882245063c</id>
<content type='text'>
Add a "dirty" state to the index when it has unsaved changes</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add a "dirty" state to the index when it has unsaved changes</pre>
</div>
</content>
</entry>
<entry>
<title>settings: optional unsaved index safety</title>
<updated>2018-06-29T13:54:29+00:00</updated>
<author>
<name>Edward Thomson</name>
<email>ethomson@edwardthomson.com</email>
</author>
<published>2018-06-22T10:17:08+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=bfa1f02292d1b637928fe18663a5f2d0aa993400'/>
<id>bfa1f02292d1b637928fe18663a5f2d0aa993400</id>
<content type='text'>
Add the `GIT_OPT_ENABLE_UNSAVED_INDEX_SAFETY` option, which will cause
commands that reload the on-disk index to fail if the current
`git_index` has changed that have not been saved.  This will prevent
users from - for example - adding a file to the index then calling a
function like `git_checkout` and having that file be silently removed
from the index since it was re-read from disk.

Now calls that would re-read the index will fail if the index is
"dirty", meaning changes have been made to it but have not been written.
Users can either `git_index_read` to discard those changes explicitly,
or `git_index_write` to write them.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add the `GIT_OPT_ENABLE_UNSAVED_INDEX_SAFETY` option, which will cause
commands that reload the on-disk index to fail if the current
`git_index` has changed that have not been saved.  This will prevent
users from - for example - adding a file to the index then calling a
function like `git_checkout` and having that file be silently removed
from the index since it was re-read from disk.

Now calls that would re-read the index will fail if the index is
"dirty", meaning changes have been made to it but have not been written.
Users can either `git_index_read` to discard those changes explicitly,
or `git_index_write` to write them.
</pre>
</div>
</content>
</entry>
<entry>
<title>index: return a unique error code on dirty index</title>
<updated>2018-06-29T13:54:28+00:00</updated>
<author>
<name>Edward Thomson</name>
<email>ethomson@edwardthomson.com</email>
</author>
<published>2018-06-22T10:07:54+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=787768c2d70dfcd1c9ebc1854b5d0f67d2e6d4d9'/>
<id>787768c2d70dfcd1c9ebc1854b5d0f67d2e6d4d9</id>
<content type='text'>
When the index is dirty, return GIT_EINDEXDIRTY so that consumers can
identify the exact problem programatically.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When the index is dirty, return GIT_EINDEXDIRTY so that consumers can
identify the exact problem programatically.
</pre>
</div>
</content>
</entry>
<entry>
<title>refspec: add public parsing api</title>
<updated>2018-06-22T11:19:40+00:00</updated>
<author>
<name>cynecx</name>
<email>me@cynecx.net</email>
</author>
<published>2018-02-07T21:30:27+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=630a67366eb475003b46bf56dc06b90197458259'/>
<id>630a67366eb475003b46bf56dc06b90197458259</id>
<content type='text'>
Fix typo

Fix some type issues

More fixes

Address requested changes

Add test

Fix naming

Fix condition and tests

Address requested changes

Fix typo
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fix typo

Fix some type issues

More fixes

Address requested changes

Add test

Fix naming

Fix condition and tests

Address requested changes

Fix typo
</pre>
</div>
</content>
</entry>
</feed>
