summaryrefslogtreecommitdiff
path: root/builtin/name-rev.c
diff options
context:
space:
mode:
authorLibravatar Martin Ågren <martin.agren@gmail.com>2020-12-31 12:56:23 +0100
committerLibravatar Junio C Hamano <gitster@pobox.com>2021-01-04 13:01:55 -0800
commitbc626927575cea80b8bc5fd0dbb6c6439e34e606 (patch)
tree9baf88596421b1b93ebd46f4f4f7e7abafb8ac55 /builtin/name-rev.c
parentsha1-lookup: rename `sha1_pos()` as `hash_pos()` (diff)
downloadtgif-bc626927575cea80b8bc5fd0dbb6c6439e34e606.tar.xz
hash-lookup: rename from sha1-lookup
Change all remnants of "sha1" in hash-lookup.c and .h and rename them to reflect that we're not just able to handle SHA-1 these days. 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>
Diffstat (limited to 'builtin/name-rev.c')
-rw-r--r--builtin/name-rev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/name-rev.c b/builtin/name-rev.c
index 4939ceb2e5..3fe71a8c01 100644
--- a/builtin/name-rev.c
+++ b/builtin/name-rev.c
@@ -7,7 +7,7 @@
#include "refs.h"
#include "parse-options.h"
#include "prio-queue.h"
-#include "sha1-lookup.h"
+#include "hash-lookup.h"
#include "commit-slab.h"
/*