summaryrefslogtreecommitdiff
path: root/builtin/rev-parse.c
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2017-09-19 10:47:55 +0900
committerLibravatar Junio C Hamano <gitster@pobox.com>2017-09-19 10:47:55 +0900
commitdaafb5062ca7f0e02754ddaa5a5334b07fe9bba1 (patch)
tree220951b43777bcd2f14d7db61014a22abdb088f2 /builtin/rev-parse.c
parentMerge branch 'ma/remove-config-maybe-bool' (diff)
parentrev-parse: don't trim bisect refnames (diff)
downloadtgif-daafb5062ca7f0e02754ddaa5a5334b07fe9bba1.tar.xz
Merge branch 'mh/packed-ref-store-prep'
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/rev-parse.c')
-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 2bd28d3c08..9f24004c0a 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)) {