<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/cache-tree.c, branch v1.6.2</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://www.git.shady.money/git/atom?h=v1.6.2</id>
<link rel='self' href='https://www.git.shady.money/git/atom?h=v1.6.2'/>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/'/>
<updated>2008-12-01T01:59:19Z</updated>
<entry>
<title>git add --intent-to-add: do not let an empty blob be committed by accident</title>
<updated>2008-12-01T01:59:19Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2008-11-29T03:56:34Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=331fcb598ec0127fd89c992361bc573dcd3a4a63'/>
<id>urn:sha1:331fcb598ec0127fd89c992361bc573dcd3a4a63</id>
<content type='text'>
Writing a tree out of an index with an "intent to add" entry is blocked.
This implies that you cannot "git commit" from such a state; however you
can still do "git commit -a" or "git commit $that_path".

Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>cache-tree.c: make cache_tree_find() static</title>
<updated>2008-07-16T15:50:27Z</updated>
<author>
<name>Nanako Shiraishi</name>
<email>nanako3@lavabit.com</email>
</author>
<published>2008-07-16T10:42:10Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=7ba04d9f3741abd5788ff713b6a16351cbf3773a'/>
<id>urn:sha1:7ba04d9f3741abd5788ff713b6a16351cbf3773a</id>
<content type='text'>
This function is not used by any other file.

Signed-off-by: Nanako Shiraishi &lt;nanako3@lavabit.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'maint-1.5.4' into maint</title>
<updated>2008-04-25T04:50:48Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2008-04-25T04:50:48Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=31c6390d40fe12a46c38d7224da61c6771886f2a'/>
<id>urn:sha1:31c6390d40fe12a46c38d7224da61c6771886f2a</id>
<content type='text'>
* maint-1.5.4:
  t5516: remove ambiguity test (1)
  Linked glossary from cvs-migration page
  write-tree: properly detect failure to write tree objects
</content>
</entry>
<entry>
<title>write-tree: properly detect failure to write tree objects</title>
<updated>2008-04-23T17:02:44Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2008-04-23T16:47:17Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=edae5f0c20b7e71a717b59873ddb8eeddfa49b86'/>
<id>urn:sha1:edae5f0c20b7e71a717b59873ddb8eeddfa49b86</id>
<content type='text'>
Tomasz Fortuna reported that "git commit" does not error out properly when
it cannot write tree objects out.  "git write-tree" shares the same issue,
as the failure to notice the error is deep in the logic to write tree
objects out recursively.

Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'jc/error-message-in-cherry-pick'</title>
<updated>2008-02-12T00:46:27Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2008-02-12T00:46:27Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=c21fdf3b60884222d5d28a09d854cef83c3e60ac'/>
<id>urn:sha1:c21fdf3b60884222d5d28a09d854cef83c3e60ac</id>
<content type='text'>
* jc/error-message-in-cherry-pick:
  Make error messages from cherry-pick/revert more sensible
</content>
</entry>
<entry>
<title>Make error messages from cherry-pick/revert more sensible</title>
<updated>2008-02-05T08:39:19Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2008-01-11T06:49:35Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=45525bd022dda75ec935c9c579e452577dcfd31f'/>
<id>urn:sha1:45525bd022dda75ec935c9c579e452577dcfd31f</id>
<content type='text'>
The original "rewrite in C" did somewhat a sloppy job while
stealing code from git-write-tree.

The caller pretends as if the write_tree() function would return
an error code and being able to issue a sensible error message
itself, but write_tree() function just calls die() and never
returns an error.  Worse yet, the function claims that it was
running git-write-tree (which is no longer true after
cherry-pick stole it).

Tested-by: Björn Steinbrink &lt;B.Steinbrink@gmx.de&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Make on-disk index representation separate from in-core one</title>
<updated>2008-01-21T20:44:31Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@linux-foundation.org</email>
</author>
<published>2008-01-15T00:03:17Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=7a51ed66f653c248993b3c4a61932e47933d835e'/>
<id>urn:sha1:7a51ed66f653c248993b3c4a61932e47933d835e</id>
<content type='text'>
This converts the index explicitly on read and write to its on-disk
format, allowing the in-core format to contain more flags, and be
simpler.

In particular, the in-core format is now host-endian (as opposed to the
on-disk one that is network endian in order to be able to be shared
across machines) and as a result we can dispense with all the
htonl/ntohl on accesses to the cache_entry fields.

This will make it easier to make use of various temporary flags that do
not exist in the on-disk format.

Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>Small cache_tree_write refactor.</title>
<updated>2007-09-26T09:27:06Z</updated>
<author>
<name>Pierre Habouzit</name>
<email>madcoder@debian.org</email>
</author>
<published>2007-09-25T08:22:44Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=1dffb8fa8056860e769f3a0c6e232d436f5a5c17'/>
<id>urn:sha1:1dffb8fa8056860e769f3a0c6e232d436f5a5c17</id>
<content type='text'>
This function cannot fail, make it void. Also make write_one act on a
const char* instead of a char*.

Signed-off-by: Pierre Habouzit &lt;madcoder@debian.org&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Now that cache.h needs strbuf.h, remove useless includes.</title>
<updated>2007-09-17T00:30:03Z</updated>
<author>
<name>Pierre Habouzit</name>
<email>madcoder@debian.org</email>
</author>
<published>2007-09-15T13:56:50Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=ba3ed09728cb25e004d3b732de14fca8aeb602f6'/>
<id>urn:sha1:ba3ed09728cb25e004d3b732de14fca8aeb602f6</id>
<content type='text'>
Signed-off-by: Pierre Habouzit &lt;madcoder@debian.org&gt;
Acked-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Strbuf API extensions and fixes.</title>
<updated>2007-09-10T19:48:24Z</updated>
<author>
<name>Pierre Habouzit</name>
<email>madcoder@debian.org</email>
</author>
<published>2007-09-10T10:35:04Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=f1696ee398e92bcea3cdc7b3da85d8e0f77f6c50'/>
<id>urn:sha1:f1696ee398e92bcea3cdc7b3da85d8e0f77f6c50</id>
<content type='text'>
  * Add strbuf_rtrim to remove trailing spaces.
  * Add strbuf_insert to insert data at a given position.
  * Off-by one fix in strbuf_addf: strbuf_avail() does not counts the final
    \0 so the overflow test for snprintf is the strict comparison. This is
    not critical as the growth mechanism chosen will always allocate _more_
    memory than asked, so the second test will not fail. It's some kind of
    miracle though.
  * Add size extension hints for strbuf_init and strbuf_read. If 0, default
    applies, else:
      + initial buffer has the given size for strbuf_init.
      + first growth checks it has at least this size rather than the
        default 8192.

Signed-off-by: Pierre Habouzit &lt;madcoder@debian.org&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
</feed>
