[PATCH] Remove map_sha1_file
[gitweb.git] / diff-tree.c
index 60ad2b5b6cd94b9026882ff6e353a846f02c7851..ea237051ee5e5249f8096ae75b188b6b7a55011a 100644 (file)
@@ -438,7 +438,7 @@ int main(int argc, const char **argv)
                        diff_setup_opt |= DIFF_SETUP_REVERSE;
                        continue;
                }
-               if (!strcmp(arg, "-p")) {
+               if (!strcmp(arg, "-p") || !strcmp(arg, "-u")) {
                        diff_output_format = DIFF_FORMAT_PATCH;
                        recursive = 1;
                        continue;