char *against = sha1_to_hex(commit->parents->item->object.sha1);
printf("\n\n======== diff against %s ========\n", against);
fflush(NULL);
- sprintf(cmdline, "git diff %s %s", against, hex);
+ sprintf(cmdline, "git diff -r %s:%s", against, hex);
system(cmdline);
}
printf("======== end ========\n\n");