We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 87cb3b8 + 701825d commit 4daf6fcCopy full SHA for 4daf6fc
1 file changed
builtin/add.c
@@ -280,6 +280,7 @@ static int edit_patch(int argc, const char **argv, const char *prefix)
280
281
argc = setup_revisions(argc, argv, &rev, NULL);
282
rev.diffopt.output_format = DIFF_FORMAT_PATCH;
283
+ DIFF_OPT_SET(&rev.diffopt, IGNORE_DIRTY_SUBMODULES);
284
out = open(file, O_CREAT | O_WRONLY, 0644);
285
if (out < 0)
286
die (_("Could not open '%s' for writing."), file);
0 commit comments