[PATCH] Add git-local-pull.
[gitweb.git] / tar-tree.c
index ea7ea91add54532c38dde9e343efe34d56805341..2c64f690e52093af13585521de4df478ac6e85e5 100644 (file)
@@ -338,7 +338,7 @@ int main(int argc, char **argv)
                basedir = argv[2];
                /* FALLTHROUGH */
        case 2:
-               if (get_sha1_hex(argv[1], sha1) < 0)
+               if (get_sha1(argv[1], sha1) < 0)
                        usage(tar_tree_usage);
                break;
        default: