]> git.ipfire.org Git - thirdparty/git.git/blobdiff - packfile.c
Merge branch 'jc/retire-get-sha1-hex'
[thirdparty/git.git] / packfile.c
index 20995654f9d4a2e785ea55f9f75b00317472daa1..9cc0a2e37a83dd38c2fe1b26d34cfb5fea983bc7 100644 (file)
@@ -751,7 +751,7 @@ struct packed_git *add_packed_git(const char *path, size_t path_len, int local)
        p->pack_local = local;
        p->mtime = st.st_mtime;
        if (path_len < the_hash_algo->hexsz ||
-           get_sha1_hex(path + path_len - the_hash_algo->hexsz, p->hash))
+           get_hash_hex(path + path_len - the_hash_algo->hexsz, p->hash))
                hashclr(p->hash);
        return p;
 }