]> git.ipfire.org Git - thirdparty/git.git/blobdiff - builtin/index-pack.c
Merge branch 'bw/format-patch-o-create-leading-dirs'
[thirdparty/git.git] / builtin / index-pack.c
index a23454da6ef9b3a219a48971ef9045772d328155..60a5591039abbdb9e0050bfda53123c577b41864 100644 (file)
@@ -1490,11 +1490,11 @@ static void final(const char *final_pack_name, const char *curr_pack_name,
        }
 
        if (!from_stdin) {
-               printf("%s\n", sha1_to_hex(hash));
+               printf("%s\n", hash_to_hex(hash));
        } else {
                struct strbuf buf = STRBUF_INIT;
 
-               strbuf_addf(&buf, "%s\t%s\n", report, sha1_to_hex(hash));
+               strbuf_addf(&buf, "%s\t%s\n", report, hash_to_hex(hash));
                write_or_die(1, buf.buf, buf.len);
                strbuf_release(&buf);