Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Add documentation for the rest of commands.
[gitweb.git]
/
rev-list.c
diff --git
a/rev-list.c
b/rev-list.c
index 77bfc29db1aad08ba9d7d87ce08d33d4a88e74e3..42fd154fc1a3b9a066a5d7d3ec997355e53f784e 100644
(file)
--- a/
rev-list.c
+++ b/
rev-list.c
@@
-7,7
+7,7
@@
int main(int argc, char **argv)
struct commit_list *list = NULL;
struct commit *commit;
- if (argc != 2 || get_sha1
_hex
(argv[1], sha1))
+ if (argc != 2 || get_sha1(argv[1], sha1))
usage("rev-list <commit-id>");
commit = lookup_commit(sha1);