Code

gitk: Fix bug in generating patches
authorPaul Mackerras <paulus@samba.org>
Sat, 15 Sep 2007 02:08:38 +0000 (12:08 +1000)
committerPaul Mackerras <paulus@samba.org>
Sat, 15 Sep 2007 02:08:38 +0000 (12:08 +1000)
commitd372e21613b36d94d595f6627ec603ed11e2fd65
tree6041f9c0073777b686f8099fa2bb74ac034d2c70
parent3e6b893f33476e7969c7bd5b8914e8bcc62385e3
gitk: Fix bug in generating patches

Commit 8f4893639129acfc866c71583317090aa2a46eab changed mkpatchgo
to use diffcmd rather than constructing the diff command itself.
Unfortunately diffcmd returns the command with a "|" as the first
element (ready for use with open), but exec won't accept the "|".
Thus we need to remove the "|".

Signed-off-by: Paul Mackerras <paulus@samba.org>
gitk