[PATCH] Give show-files the ability to process exclusion pattern.
[gitweb.git] / git-export.c
index cf40946cfa54eba981f8385ee289eccba1f69bec..9c867a285b7753859bb2cdcdb2615b386847db70 100644 (file)
@@ -18,7 +18,7 @@ void show_commit(struct commit *commit)
                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, "diff-tree -p -r %s %s", against, hex);
                system(cmdline);
        }
        printf("======== end ========\n\n");