From c7923ad9259e8bc121694f8e8c4ad3668aae73e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Iiro=20J=C3=A4ppinen?= Date: Mon, 24 Aug 2020 20:45:23 +0300 Subject: [PATCH] fix: always use the default short diff format for submodules #902 --- lib/gitWorkflow.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/gitWorkflow.js b/lib/gitWorkflow.js index a5838ab3e..f04901008 100644 --- a/lib/gitWorkflow.js +++ b/lib/gitWorkflow.js @@ -53,6 +53,7 @@ const GIT_DIFF_ARGS = [ '--src-prefix=a/', // force prefix for consistent behaviour '--dst-prefix=b/', // force prefix for consistent behaviour '--patch', // output a patch that can be applied + '--submodule=short', // always use the default short format for submodules ] const GIT_APPLY_ARGS = ['-v', '--whitespace=nowarn', '--recount', '--unidiff-zero']