]> git.ipfire.org Git - thirdparty/git.git/commit
diff --submodule=diff: don't print failure message twice
authorDavid Turner <dturner@twosigma.com>
Tue, 31 Aug 2021 13:12:57 +0000 (09:12 -0400)
committerJunio C Hamano <gitster@pobox.com>
Tue, 31 Aug 2021 17:12:13 +0000 (10:12 -0700)
commit67f61efbb92dce64b33c3280b89e9f253a34df1c
treee129b71cdee0df0f5f59a9619a40814495943c5b
parentf1c0368da4d64f394e4c099cb3c232671040d725
diff --submodule=diff: don't print failure message twice

When we fail to start a diff command inside a submodule, immediately
exit the routine rather than trying to finish the command and printing
a second message.

Signed-off-by: David Turner <dturner@twosigma.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
submodule.c