Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
rev-parse: add --shared-index-path to get shared index path
[gitweb.git]
/
builtin
/
rev-list.c
diff --git
a/builtin/rev-list.c
b/builtin/rev-list.c
index 5209255f28c66049b2ec6dc539ceaa7fe339133c..9f92905379d1801a35bfad87bc05002d76dc23f4 100644
(file)
--- a/
builtin/rev-list.c
+++ b/
builtin/rev-list.c
@@
-345,7
+345,7
@@
int cmd_rev_list(int argc, const char **argv, const char *prefix)
revs.commit_format = CMIT_FMT_RAW;
if ((!revs.commits &&
- (!(revs.tag_objects
||revs.tree_objects||
revs.blob_objects) &&
+ (!(revs.tag_objects
|| revs.tree_objects ||
revs.blob_objects) &&
!revs.pending.nr)) ||
revs.diff)
usage(rev_list_usage);