summaryrefslogtreecommitdiff
path: root/builtin
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2017-10-18 14:18:58 +0900
committerLibravatar Junio C Hamano <gitster@pobox.com>2017-10-18 14:18:58 +0900
commit6b895039f4c81e8b50f0d5f7d22f400e52e9bfc6 (patch)
treeaf34ba0aba8da54090942f32102155e74ddf94f7 /builtin
parentMerge branch 'mm/send-email-cc-cruft' into maint (diff)
parentrev-parse: don't trim bisect refnames (diff)
downloadtgif-6b895039f4c81e8b50f0d5f7d22f400e52e9bfc6.tar.xz
Merge branch 'mh/packed-ref-store-prep' into maint
Fix regression to "gitk --bisect" by a recent update. * mh/packed-ref-store-prep: rev-parse: don't trim bisect refnames
Diffstat (limited to 'builtin')
-rw-r--r--builtin/rev-parse.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/builtin/rev-parse.c b/builtin/rev-parse.c
index c78b7b33d6..7f965fe74e 100644
--- a/builtin/rev-parse.c
+++ b/builtin/rev-parse.c
@@ -757,8 +757,8 @@ int cmd_rev_parse(int argc, const char **argv, const char *prefix)
continue;
}
if (!strcmp(arg, "--bisect")) {
- for_each_ref_in("refs/bisect/bad", show_reference, NULL);
- for_each_ref_in("refs/bisect/good", anti_reference, NULL);
+ for_each_fullref_in("refs/bisect/bad", show_reference, NULL, 0);
+ for_each_fullref_in("refs/bisect/good", anti_reference, NULL, 0);
continue;
}
if (opt_with_value(arg, "--branches", &arg)) {