Make "git-prune-script" take all refs into account.
[gitweb.git] / diff-tree.c
index e7a5b7cc76f5d80e602184f1ef12f502d53a552b..1186c5ce6d690766f586f320889da9d78d2404b9 100644 (file)
@@ -279,7 +279,7 @@ int main(int argc, char **argv)
                usage(diff_tree_usage);
        }
 
-       if (argc < 3 || get_sha1_hex(argv[1], old) || get_sha1_hex(argv[2], new))
+       if (argc < 3 || get_sha1(argv[1], old) || get_sha1(argv[2], new))
                usage(diff_tree_usage);
 
        if (argc > 3) {