summaryrefslogtreecommitdiff
path: root/builtin/rev-parse.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2017-09-19 01:47:55 (GMT)
committerJunio C Hamano <gitster@pobox.com>2017-09-19 01:47:55 (GMT)
commitdaafb5062ca7f0e02754ddaa5a5334b07fe9bba1 (patch)
tree220951b43777bcd2f14d7db61014a22abdb088f2 /builtin/rev-parse.c
parentc39da2c08ecc7f3186d83c4fc733401ee98df67f (diff)
parent1d0538e4860f3827bb711a4a05dbc2f194f767be (diff)
downloadgit-daafb5062ca7f0e02754ddaa5a5334b07fe9bba1.zip
git-daafb5062ca7f0e02754ddaa5a5334b07fe9bba1.tar.gz
git-daafb5062ca7f0e02754ddaa5a5334b07fe9bba1.tar.bz2
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 2bd28d3..9f24004 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)) {