]> git.ipfire.org Git - thirdparty/git.git/blobdiff - packfile.c
Merge branch 'js/stash-apply-in-secondary-worktree'
[thirdparty/git.git] / packfile.c
index f3f962af4c6ccce48a5a0175ae95de9a171288c0..b4c218d78ea3980146811fb6722f94b0b96c6976 100644 (file)
@@ -6,7 +6,6 @@
 #include "mergesort.h"
 #include "packfile.h"
 #include "delta.h"
-#include "list.h"
 #include "streaming.h"
 #include "sha1-lookup.h"
 #include "commit.h"
 #include "promisor-remote.h"
 
 char *odb_pack_name(struct strbuf *buf,
-                   const unsigned char *sha1,
+                   const unsigned char *hash,
                    const char *ext)
 {
        strbuf_reset(buf);
        strbuf_addf(buf, "%s/pack/pack-%s.%s", get_object_directory(),
-                   sha1_to_hex(sha1), ext);
+                   hash_to_hex(hash), ext);
        return buf->buf;
 }