summaryrefslogtreecommitdiff
path: root/builtin/reflog.c
diff options
context:
space:
mode:
authorLibravatar René Scharfe <l.s.r@web.de>2021-08-27 21:20:27 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2021-08-27 14:12:15 -0700
commite4f8d27585c6884dab26ded734cab7d8c08370a1 (patch)
tree5768b7ba815f9772410f302cec14a54d9d6a758c /builtin/reflog.c
parentGit 2.33 (diff)
downloadtgif-e4f8d27585c6884dab26ded734cab7d8c08370a1.tar.xz
show-branch: simplify rev_is_head()
Only one of the callers of rev_is_head() provides two hashes to compare. Move that check there and convert it to struct object_id. Signed-off-by: René Scharfe <l.s.r@web.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/reflog.c')
0 files changed, 0 insertions, 0 deletions