<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/commit.c, branch v1.2.4</title>
<subtitle>Fork of git SCM with my patches.</subtitle>
<id>http://git.kilabit.info/git/atom?h=v1.2.4</id>
<link rel='self' href='http://git.kilabit.info/git/atom?h=v1.2.4'/>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/'/>
<updated>2006-02-23T03:10:26Z</updated>
<entry>
<title>Give no terminating LF to error() function.</title>
<updated>2006-02-23T03:10:26Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2006-02-23T01:47:10Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=bd2afde8a38b97391b22afebf15c583fb0fffacb'/>
<id>urn:sha1:bd2afde8a38b97391b22afebf15c583fb0fffacb</id>
<content type='text'>
Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>commit.c: "Merge" fix in pretty_print_commit.</title>
<updated>2006-02-03T01:52:19Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2006-02-03T01:52:19Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=6bfb27a0c5d742306905ed9c0962ba3c0a091625'/>
<id>urn:sha1:6bfb27a0c5d742306905ed9c0962ba3c0a091625</id>
<content type='text'>
Earlier, f2d4227530499db3e273ae84f30adfd4b70791c6 commit broke Merge:
lines for unabbreviated case.  Do not emit extra dots if we do not
abbreviate.

Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>pretty_print_commit: honor grafts.</title>
<updated>2006-01-28T08:09:39Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2006-01-27T10:17:19Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=f2d4227530499db3e273ae84f30adfd4b70791c6'/>
<id>urn:sha1:f2d4227530499db3e273ae84f30adfd4b70791c6</id>
<content type='text'>
When displaying Merge: lines, we used to take the real commit
parents from the commit objects.  Use the parsed parents from
the commit object instead, so that we honor fake parent
information from info/grafts.

Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>pretty_print_commit(): pass commit object instead of commit-&gt;buffer.</title>
<updated>2006-01-28T08:09:39Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2006-01-27T09:54:59Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=3815f423ae39bf774de3c268c6d3e3b72128a4e5'/>
<id>urn:sha1:3815f423ae39bf774de3c268c6d3e3b72128a4e5</id>
<content type='text'>
Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>diff-tree: abbreviate merge parent object names with --abbrev --pretty.</title>
<updated>2006-01-28T08:09:38Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2006-01-25T10:37:40Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=b2d4c56f2f370481c80e478ac323ebb13eece807'/>
<id>urn:sha1:b2d4c56f2f370481c80e478ac323ebb13eece807</id>
<content type='text'>
When --abbrev is in effect, abbreviate the merge parent names
in prettyprinted output.

Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>describe: omit clearing marks on the last one.</title>
<updated>2006-01-16T06:15:37Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2006-01-16T06:15:37Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=181dc776956b4d265891ac70514ed214e4b7564a'/>
<id>urn:sha1:181dc776956b4d265891ac70514ed214e4b7564a</id>
<content type='text'>
When describing more than one, we need to clear the commit marks
before handling the next one, but most of the time we are
running it for only one commit, and in such a case this clearing
phase is totally unnecessary.

Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>GIT 1.1.0</title>
<updated>2006-01-08T22:22:19Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2006-01-08T22:22:19Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=5a2282de13c4da13f979185e652c8a08e2481fd1'/>
<id>urn:sha1:5a2282de13c4da13f979185e652c8a08e2481fd1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>describe: allow more than one revs to be named.</title>
<updated>2006-01-08T05:43:01Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2006-01-08T02:52:42Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=f8f9c73c7d835ec1e5b665c66623aed49fcd4888'/>
<id>urn:sha1:f8f9c73c7d835ec1e5b665c66623aed49fcd4888</id>
<content type='text'>
The main loop was prepared to take more than one revs, but the actual
naming logic wad not (it used pop_most_recent_commit while forgetting
that the commit marks stay after it's done).

Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>[PATCH] Compilation: zero-length array declaration.</title>
<updated>2006-01-07T18:51:06Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2006-01-07T09:33:54Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=8f1d2e6f49ee51ac062ab38337a6a70dd1998def'/>
<id>urn:sha1:8f1d2e6f49ee51ac062ab38337a6a70dd1998def</id>
<content type='text'>
ISO C99 (and GCC 3.x or later) lets you write a flexible array
at the end of a structure, like this:

	struct frotz {
		int xyzzy;
		char nitfol[]; /* more */
	};

GCC 2.95 and 2.96 let you to do this with "char nitfol[0]";
unfortunately this is not allowed by ISO C90.

This declares such construct like this:

	struct frotz {
		int xyzzy;
		char nitfol[FLEX_ARRAY]; /* more */
	};

and git-compat-util.h defines FLEX_ARRAY to 0 for gcc 2.95 and
empty for others.

If you are using a C90 C compiler, you should be able
to override this with CFLAGS=-DFLEX_ARRAY=1 from the
command line of "make".

Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>short circuit out of a few places where we would allocate zero bytes</title>
<updated>2005-12-26T16:59:21Z</updated>
<author>
<name>Eric Wong</name>
<email>normalperson@yhbt.net</email>
</author>
<published>2005-12-24T12:12:43Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=7d6fb370bc98e5d4723103dda0829b00c79da213'/>
<id>urn:sha1:7d6fb370bc98e5d4723103dda0829b00c79da213</id>
<content type='text'>
dietlibc versions of malloc, calloc and realloc all return NULL if
they're told to allocate 0 bytes, causes the x* wrappers to die().

There are several more places where these calls could end up asking
for 0 bytes, too...

Maybe simply not die()-ing in the x* wrappers if 0/NULL is returned
when the requested size is zero is a safer and easier way to go.

Signed-off-by: Eric Wong &lt;normalperson@yhbt.net&gt;
Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
</feed>
