summaryrefslogtreecommitdiff
path: root/revision.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2009-02-05 17:54:12 -0800
committerJunio C Hamano <gitster@pobox.com>2009-02-05 17:54:12 -0800
commit8abc61880d34f7a85928d7ca95cb1165b2aca1df (patch)
treed3a65f515a86df9f0822ee59b37b07e7d3f8784e /revision.c
parent8c4c286c394cc383577bf884f37a708bba98549e (diff)
parentb2a6d1c6868b6d5e7d2b4fa9129341220a1e848a (diff)
downloadgit-8abc61880d34f7a85928d7ca95cb1165b2aca1df.tar.gz
Merge branch 'js/maint-all-implies-HEAD' into maint
* 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")) {