mirror of
https://github.com/git/git
synced 2024-08-27 11:39:22 +00:00
Duh, just make git-export.c use the proper syntax, everything is fine.
This commit is contained in:
parent
860edf7a71
commit
80913d4364
|
@ -18,7 +18,7 @@ void show_commit(struct commit *commit)
|
||||||
char *against = sha1_to_hex(commit->parents->item->object.sha1);
|
char *against = sha1_to_hex(commit->parents->item->object.sha1);
|
||||||
printf("\n\n======== diff against %s ========\n", against);
|
printf("\n\n======== diff against %s ========\n", against);
|
||||||
fflush(NULL);
|
fflush(NULL);
|
||||||
sprintf(cmdline, "diff-tree -r -z %s %s | xargs -0 gitdiff-do %s %s", against, hex, against, hex);
|
sprintf(cmdline, "git diff -r %s:%s", against, hex);
|
||||||
system(cmdline);
|
system(cmdline);
|
||||||
}
|
}
|
||||||
printf("======== end ========\n\n");
|
printf("======== end ========\n\n");
|
||||||
|
|
Loading…
Reference in a new issue