summaryrefslogtreecommitdiff
path: root/revision.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2009-01-25 17:13:02 -0800
committerJunio C Hamano <gitster@pobox.com>2009-01-25 17:13:02 -0800
commitf18e6bef23809d2823c1a687f375b22c6af0e735 (patch)
tree3b9c79bbd3307ca49a36b142435937db12dbb2b8 /revision.c
parent45099df6d7d83b30300f8efa3f6b831d6132c687 (diff)
parentb2a6d1c6868b6d5e7d2b4fa9129341220a1e848a (diff)
downloadgit-f18e6bef23809d2823c1a687f375b22c6af0e735.tar.gz
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")) {