Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Do not report size of the object that cannot be written in local-pull.c
[gitweb.git]
/
rev-tree.c
diff --git
a/rev-tree.c
b/rev-tree.c
index 95ec274fc7fa68d2e70446104c51732ac7815fe2..bfc8b125794d5c7104ed955eb3021c5958fc11b5 100644
(file)
--- a/
rev-tree.c
+++ b/
rev-tree.c
@@
-97,7
+97,7
@@
int main(int argc, char **argv)
arg++;
basemask |= 1<<nr;
}
- if (nr >= MAX_COMMITS || get_sha1
_hex
(arg, sha1[nr]))
+ if (nr >= MAX_COMMITS || get_sha1(arg, sha1[nr]))
usage("rev-tree [--edges] [--cache <cache-file>] <commit-id> [<commit-id>]");
process_commit(sha1[nr]);
nr++;