Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
lstat_cache(): print a warning if doing ping-pong between cache types
[gitweb.git]
/
revision.c
diff --git
a/revision.c
b/revision.c
index 1663ac80ea3077193498bf08d8d463efff24ffe1..8603c145817488a4ce80111051129d4d715c597b 100644
(file)
--- a/
revision.c
+++ b/
revision.c
@@
-1267,6
+1267,7
@@
int setup_revisions(int argc, const char **argv, struct rev_info *revs, const ch
if (!strcmp(arg, "--all")) {
handle_refs(revs, flags, for_each_ref);
+ handle_refs(revs, flags, head_ref);
continue;
}
if (!strcmp(arg, "--branches")) {