Skip to content

Commit c7923ad

Browse files
committed
fix: always use the default short diff format for submodules #902
1 parent e0ee583 commit c7923ad

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/gitWorkflow.js

+1
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ const GIT_DIFF_ARGS = [
5353
'--src-prefix=a/', // force prefix for consistent behaviour
5454
'--dst-prefix=b/', // force prefix for consistent behaviour
5555
'--patch', // output a patch that can be applied
56+
'--submodule=short', // always use the default short format for submodules
5657
]
5758
const GIT_APPLY_ARGS = ['-v', '--whitespace=nowarn', '--recount', '--unidiff-zero']
5859

0 commit comments

Comments
 (0)