summaryrefslogtreecommitdiff
path: root/export.c
diff options
context:
space:
mode:
Diffstat (limited to 'export.c')
-rw-r--r--export.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/export.c b/export.c
index 78bfe9f..b648717 100644
--- a/export.c
+++ b/export.c
@@ -12,7 +12,7 @@ void show_commit(struct commit *commit)
strcpy(hex, sha1_to_hex(commit->object.sha1));
printf("Id: %s\n", hex);
fflush(NULL);
- sprintf(cmdline, "cat-file commit %s", hex);
+ sprintf(cmdline, "git-cat-file commit %s", hex);
system(cmdline);
if (commit->parents) {
char *against = sha1_to_hex(commit->parents->item->object.sha1);