summaryrefslogtreecommitdiff
path: root/rev-tree.c
diff options
context:
space:
mode:
Diffstat (limited to 'rev-tree.c')
-rw-r--r--rev-tree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rev-tree.c b/rev-tree.c
index 95ec274..bfc8b12 100644
--- a/rev-tree.c
+++ b/rev-tree.c
@@ -97,7 +97,7 @@ int main(int argc, char **argv)
arg++;
basemask |= 1<<nr;
}
- if (nr >= MAX_COMMITS || get_sha1_hex(arg, sha1[nr]))
+ if (nr >= MAX_COMMITS || get_sha1(arg, sha1[nr]))
usage("rev-tree [--edges] [--cache <cache-file>] <commit-id> [<commit-id>]");
process_commit(sha1[nr]);
nr++;