diff options
author | René Scharfe <l.s.r@web.de> | 2021-08-27 21:20:27 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-08-27 14:12:15 -0700 |
commit | e4f8d27585c6884dab26ded734cab7d8c08370a1 (patch) | |
tree | 5768b7ba815f9772410f302cec14a54d9d6a758c /connected.c | |
parent | Git 2.33 (diff) | |
download | tgif-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 'connected.c')
0 files changed, 0 insertions, 0 deletions