builtin/am: make hash size independent
[gitweb.git] / http-walker.c
index 8ae5d76c6aa216e92c26b875f72b7bb991b6e3cd..8063896cf624d1a58ebeba5f1862fe7c7d1dc71f 100644 (file)
@@ -434,7 +434,7 @@ static int http_fetch_pack(struct walker *walker, struct alt_base *repo, unsigne
 
        if (walker->get_verbosely) {
                fprintf(stderr, "Getting pack %s\n",
-                       sha1_to_hex(target->sha1));
+                       sha1_to_hex(target->hash));
                fprintf(stderr, " which contains %s\n",
                        sha1_to_hex(sha1));
        }