]> git.ipfire.org Git - thirdparty/git.git/blobdiff - packfile.c
Merge branch 'tk/git-svn-trim-author-name'
[thirdparty/git.git] / packfile.c
index f3f962af4c6ccce48a5a0175ae95de9a171288c0..dd4b0e51c4956f9ce2da5e9bd1d970e31a8b6d92 100644 (file)
 #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;
 }