sha1-lookup: rename `sha1_pos()` as `hash_pos()`
commit7a7d992d0dbd78cf1fc477cf1e1caf61833b3e41
authorMartin Ågren <martin.agren@gmail.com>
Thu, 31 Dec 2020 11:56:22 +0000 (31 12:56 +0100)
committerJunio C Hamano <gitster@pobox.com>
Mon, 4 Jan 2021 21:01:55 +0000 (4 13:01 -0800)
tree06e405ba8f107416381f7c9cb8b2f24b38689f62
parente5afd4449d7f1adfd02eca573c23e7ae9c96b28d
sha1-lookup: rename `sha1_pos()` as `hash_pos()`

Rename this function to reflect that we're not just able to handle SHA-1
these days. There are a few instances of "sha1" left in sha1-lookup.[ch]
after this, but those will be addressed in the next commit.

Signed-off-by: Martin Ågren <martin.agren@gmail.com>
Reviewed-by: Derrick Stolee <dstolee@microsoft.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/name-rev.c
commit-graph.c
commit.c
oid-array.c
pack-bitmap-write.c
rerere.c
sha1-lookup.c
sha1-lookup.h