Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
include header to define uint32_t, necessary on Mac OS X
[gitweb.git]
/
merge-tree.c
diff --git
a/merge-tree.c
b/merge-tree.c
index 50528d5e438c62be409a9f7d252cedadfd52b15e..47181d422cd8b5ef0a01a52aede67b34034784d3 100644
(file)
--- a/
merge-tree.c
+++ b/
merge-tree.c
@@
-151,7
+151,7
@@
static void *get_tree_descriptor(struct tree_desc *desc, const char *rev)
unsigned char sha1[20];
void *buf;
- if (get_sha1(rev, sha1)
< 0
)
+ if (get_sha1(rev, sha1))
die("unknown rev %s", rev);
buf = fill_tree_descriptor(desc, sha1);
if (!buf)