diff options
author | Martin Ågren <martin.agren@gmail.com> | 2020-09-27 15:15:41 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-09-27 14:21:47 -0700 |
commit | b1f1ade87be595b5854c82850658c80465fdb16b (patch) | |
tree | ab0476e0d51c98e169951a183edd3a02456ac49c /diff-no-index.c | |
parent | Thirteenth batch (diff) | |
download | tgif-b1f1ade87be595b5854c82850658c80465fdb16b.tar.xz |
wt-status: replace sha1 mentions with oid
`abbrev_sha1_in_line()` uses a `struct object_id oid` and should be
fully prepared to handle non-SHA1 object ids. Rename it to
`abbrev_oid_in_line()`.
A few comments in `wt_status_get_detached_from()` mention "sha1". The
variable they refer to was renamed in e86ab2c1cd ("wt-status: convert to
struct object_id", 2017-02-21). Update the comments to reference "oid"
instead.
Signed-off-by: Martin Ågren <martin.agren@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'diff-no-index.c')
0 files changed, 0 insertions, 0 deletions