summaryrefslogtreecommitdiff
path: root/revision.c
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2009-01-25 17:13:02 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2009-01-25 17:13:02 -0800
commitf18e6bef23809d2823c1a687f375b22c6af0e735 (patch)
tree3b9c79bbd3307ca49a36b142435937db12dbb2b8 /revision.c
parentMerge branch 'sr/clone-empty' (diff)
parentbundle: allow the same ref to be given more than once (diff)
downloadtgif-f18e6bef23809d2823c1a687f375b22c6af0e735.tar.xz
Merge branch 'js/maint-all-implies-HEAD'
* js/maint-all-implies-HEAD: bundle: allow the same ref to be given more than once revision walker: include a detached HEAD in --all
Diffstat (limited to 'revision.c')
-rw-r--r--revision.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/revision.c b/revision.c
index db60f06c98..b0651845bf 100644
--- a/revision.c
+++ b/revision.c
@@ -1263,6 +1263,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")) {