<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/libgit2.git/src/index.c, branch longpath-printf</title>
<subtitle>github.com: libgit2/libgit2.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/'/>
<entry>
<title>Merge pull request #3353 from ethomson/wrongcase_add</title>
<updated>2015-09-08T16:34:51+00:00</updated>
<author>
<name>Carlos Martín Nieto</name>
<email>cmn@dwim.me</email>
</author>
<published>2015-09-08T16:34:51+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/commit/?id=6d6020defcb17ec0c4836db428f148ebaedabe65'/>
<id>6d6020defcb17ec0c4836db428f148ebaedabe65</id>
<content type='text'>
index: canonicalize directory case when adding</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
index: canonicalize directory case when adding</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #3381 from leoyanggit/index_directory_iterator</title>
<updated>2015-09-08T15:50:08+00:00</updated>
<author>
<name>Edward Thomson</name>
<email>ethomson@edwardthomson.com</email>
</author>
<published>2015-09-08T15:50:08+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/commit/?id=2964cbeae14f52a42f82b5bf6fbb22cfcb5bd4c9'/>
<id>2964cbeae14f52a42f82b5bf6fbb22cfcb5bd4c9</id>
<content type='text'>
New feature: add the ablility to iterate through a directory in index</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
New feature: add the ablility to iterate through a directory in index</pre>
</div>
</content>
</entry>
<entry>
<title>git_index_add: allow case changing renames</title>
<updated>2015-09-08T15:34:00+00:00</updated>
<author>
<name>Edward Thomson</name>
<email>ethomson@edwardthomson.com</email>
</author>
<published>2015-08-07T17:43:49+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/commit/?id=a32bc85e84090299ab9ba56b2d8f1761b7d91873'/>
<id>a32bc85e84090299ab9ba56b2d8f1761b7d91873</id>
<content type='text'>
On case insensitive platforms, allow `git_index_add` to provide a new
path for an existing index entry.  Previously, we would maintain the
case in an index entry without the ability to change it (except by
removing an entry and re-adding it.)

Higher-level functions (like `git_index_add_bypath` and
`git_index_add_frombuffers`) continue to keep the old path for easier
usage.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
On case insensitive platforms, allow `git_index_add` to provide a new
path for an existing index entry.  Previously, we would maintain the
case in an index entry without the ability to change it (except by
removing an entry and re-adding it.)

Higher-level functions (like `git_index_add_bypath` and
`git_index_add_frombuffers`) continue to keep the old path for easier
usage.
</pre>
</div>
</content>
</entry>
<entry>
<title>index: canonicalize directory case when adding</title>
<updated>2015-09-08T15:32:40+00:00</updated>
<author>
<name>Edward Thomson</name>
<email>ethomson@edwardthomson.com</email>
</author>
<published>2015-08-04T21:51:00+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/commit/?id=280adb3f942a1ce4f4939b7058209d0cd0467062'/>
<id>280adb3f942a1ce4f4939b7058209d0cd0467062</id>
<content type='text'>
On case insensitive systems, when given a user-provided path in the
higher-level index addition functions (eg `git_index_add_bypath` /
`git_index_add_frombuffer`), examine the index to try to match the
given path to an existing directory.

Various mechanisms can cause the on-disk representation of a folder
to not match the representation in HEAD or the index - for example,
a case changing rename of some file `a/file.txt` to `A/file.txt`
will update the paths in the index, but not rename the folder on
disk.

If a user subsequently adds `a/other.txt`, then this should be stored
in the index as `A/other.txt`.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
On case insensitive systems, when given a user-provided path in the
higher-level index addition functions (eg `git_index_add_bypath` /
`git_index_add_frombuffer`), examine the index to try to match the
given path to an existing directory.

Various mechanisms can cause the on-disk representation of a folder
to not match the representation in HEAD or the index - for example,
a case changing rename of some file `a/file.txt` to `A/file.txt`
will update the paths in the index, but not rename the folder on
disk.

If a user subsequently adds `a/other.txt`, then this should be stored
in the index as `A/other.txt`.
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #3366 from libgit2/cmn/index-hashmap</title>
<updated>2015-09-06T14:50:22+00:00</updated>
<author>
<name>Edward Thomson</name>
<email>ethomson@edwardthomson.com</email>
</author>
<published>2015-09-06T14:50:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/commit/?id=9fd4c9c8679d166e73ca7c5594cd05c693a5ab10'/>
<id>9fd4c9c8679d166e73ca7c5594cd05c693a5ab10</id>
<content type='text'>
Use a hashmap for path-based lookups in the index</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Use a hashmap for path-based lookups in the index</pre>
</div>
</content>
</entry>
<entry>
<title>New API: git_index_find_prefix</title>
<updated>2015-09-04T16:24:36+00:00</updated>
<author>
<name>Leo Yang</name>
<email>lyang@topologyinc.com</email>
</author>
<published>2015-08-17T19:02:02+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/commit/?id=c097f7173daced0f86fd816a72ad5fc0f636484a'/>
<id>c097f7173daced0f86fd816a72ad5fc0f636484a</id>
<content type='text'>
Find the first index entry matching a prefix.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Find the first index entry matching a prefix.
</pre>
</div>
</content>
</entry>
<entry>
<title>index: put the icase insert choice in macros</title>
<updated>2015-09-04T11:50:25+00:00</updated>
<author>
<name>Carlos Martín Nieto</name>
<email>cmn@dwim.me</email>
</author>
<published>2015-09-04T11:30:49+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/commit/?id=81b76367571010aa83a3de38aecfee3c301e888d'/>
<id>81b76367571010aa83a3de38aecfee3c301e888d</id>
<content type='text'>
This should let us see more clearly what we're doing and avoid the ugly
'if' we need every time we want to interact with the map.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This should let us see more clearly what we're doing and avoid the ugly
'if' we need every time we want to interact with the map.
</pre>
</div>
</content>
</entry>
<entry>
<title>racy-git: TODO to use improved diffing</title>
<updated>2015-08-28T22:39:57+00:00</updated>
<author>
<name>Edward Thomson</name>
<email>ethomson@edwardthomson.com</email>
</author>
<published>2015-07-29T01:04:11+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/commit/?id=810cabb9dfa57127e78cb47dbe8ea95943fb2642'/>
<id>810cabb9dfa57127e78cb47dbe8ea95943fb2642</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>iterator: use an options struct instead of args</title>
<updated>2015-08-28T22:39:47+00:00</updated>
<author>
<name>Edward Thomson</name>
<email>ethomson@edwardthomson.com</email>
</author>
<published>2015-07-28T16:41:27+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/commit/?id=ed1c64464a4e3126eef5d74d2c14c19133fa9cd8'/>
<id>ed1c64464a4e3126eef5d74d2c14c19133fa9cd8</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>index: keep a hash table as well as a vector of entries</title>
<updated>2015-08-14T19:10:12+00:00</updated>
<author>
<name>Carlos Martín Nieto</name>
<email>cmn@dwim.me</email>
</author>
<published>2015-08-14T19:10:12+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/commit/?id=af1d5239a16976bd1b8d0a9358497f043bdfed14'/>
<id>af1d5239a16976bd1b8d0a9358497f043bdfed14</id>
<content type='text'>
The hash table allows quick lookup of specific paths, while we use the
vector for enumeration.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The hash table allows quick lookup of specific paths, while we use the
vector for enumeration.
</pre>
</div>
</content>
</entry>
</feed>
