Files
git/builtin
Jonathan Nieder dab0d4108d correct type of EMPTY_TREE_SHA1_BIN
Functions such as hashcmp that expect a binary SHA-1 value take
parameters of type "unsigned char *" to avoid accepting a textual
SHA-1 passed by mistake.  Unfortunately, this means passing the string
literal EMPTY_TREE_SHA1_BIN requires an ugly cast.  Tweak the
definition of EMPTY_TREE_SHA1_BIN to produce a value of more
convenient type.

In the future the definition might change to

	extern const unsigned char empty_tree_sha1_bin[20];
	#define EMPTY_TREE_SHA1_BIN empty_tree_sha1_bin

Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2011-02-14 10:48:06 -08:00
..
2010-12-12 21:49:53 -08:00
2011-02-14 10:48:06 -08:00
2010-11-24 15:55:19 -08:00
2011-02-11 14:24:34 -08:00
2011-01-12 21:26:51 -08:00
2010-12-12 21:49:50 -08:00
2010-12-10 12:58:06 -08:00
2010-12-12 21:49:52 -08:00
2010-11-24 15:55:19 -08:00
2010-11-15 10:04:43 -08:00
2010-12-08 11:24:12 -08:00
2010-11-24 15:55:19 -08:00
2010-11-17 15:01:00 -08:00
2010-12-08 11:24:13 -08:00
2010-11-15 10:04:43 -08:00