diff options
author | Junio C Hamano <gitster@pobox.com> | 2008-11-16 00:48:59 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2008-11-16 00:48:59 -0800 |
commit | 47a792539a48327e62c594f2befb5c5d1e58c0f2 (patch) | |
tree | 2a4cc395a0686640abea8b3fe75ff3667b7e0475 /cache.h | |
parent | 8c4021abfd170278d1a3431e2777bedd0c01fbb1 (diff) | |
parent | 1324fb6f161ee516eb4c597880847003a42c0c5d (diff) | |
download | git-47a792539a48327e62c594f2befb5c5d1e58c0f2.tar.gz |
Merge branch 'jk/commit-v-strip'
* jk/commit-v-strip:
status: show "-v" diff even for initial commit
wt-status: refactor initial commit printing
define empty tree sha1 as a macro
Diffstat (limited to 'cache.h')
-rw-r--r-- | cache.h | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -530,6 +530,12 @@ static inline void hashclr(unsigned char *hash) } extern int is_empty_blob_sha1(const unsigned char *sha1); +#define EMPTY_TREE_SHA1_HEX \ + "4b825dc642cb6eb9a060e54bf8d69288fbee4904" +#define EMPTY_TREE_SHA1_BIN \ + "\x4b\x82\x5d\xc6\x42\xcb\x6e\xb9\xa0\x60" \ + "\xe5\x4b\xf8\xd6\x92\x88\xfb\xee\x49\x04" + int git_mkstemp(char *path, size_t n, const char *template); /* |