summaryrefslogtreecommitdiff
path: root/export.c
diff options
context:
space:
mode:
authorAlexey Nezhdanov <snake@penza-gsm.ru>2005-05-02 04:23:04 (GMT)
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-05-02 04:23:04 (GMT)
commitbab5583a49bff27c53f9ab22489b7faae21f607d (patch)
treef02cec371d16a9993bd7a9fc15b47928d2946ee5 /export.c
parentb02a26cb877319f0367725ce87aead42488714cb (diff)
downloadgit-bab5583a49bff27c53f9ab22489b7faae21f607d.zip
git-bab5583a49bff27c53f9ab22489b7faae21f607d.tar.gz
git-bab5583a49bff27c53f9ab22489b7faae21f607d.tar.bz2
[PATCH] git-export complains about mising cat-file
Fixes bits leaved during name change. Signed-off-by: Alexey Nezhdanov <snake@penza-gsm.ru> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
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);