{"thread":{"id":"11482","subject":"gitk: possible bug in diffcmd","startedAt":"2008-01-05T09:41:35Z","lastAt":"2008-01-05T09:41:35Z","messageCount":1,"participants":["Maik Beckmann"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"64520","messageId":"loom.20080105T093532-817@post.gmane.org","threadId":"11482","inReplyTo":null,"subject":"gitk: possible bug in diffcmd","fromName":"Maik Beckmann","fromEmail":"maikbeckmann@gmx.de","sentAt":"2008-01-05T09:41:35Z","receivedAt":"2008-01-05T09:41:35Z","isPatch":false,"sender":{"key":"maikbeckmann@gmx.de","avatar":null},"body":"Hello.  \n\nI'm using git-1.5.3.7 on linux.  \n\nWhen I try get use \"Make Patch\" from by the context menu and click on \"Generate\"\nan error popup appears which states: \n  \"Error creating patch: illegal use of | or &|\"\nI tracked the problem down to line 5064 in gitk, which belongs to diffcmd: \n  set cmd [concat | git diff-tree -r $flags $ids]  \nThis line produces something like \n  | git diff-tree -r -p 5441937e2... 7394db226...  \nAs you see there is a leading pipe symbol which caused the error message.  \nIs there some special shell to use with gitk?? Or is it just a BUG?\n\nIf I remove the | after concat everything works smooth.\n\nThanks in advance,\n\n -- Maik\n"}]}