git/list[1] front-page[2] threads[3] people[4] search[5] about
 

gitk: possible bug in diffcmd

From
MBMaik Beckmann <maikbeckmann@gmx.de>
Date
Jan 5, 2008, 09:41 UTC
Message-ID
<loom.20080105T093532-817@post.gmane.org>
Hello.  
I'm using git-1.5.3.7 on linux.  
When I try get use "Make Patch" from by the context menu and click on "Generate"
an error popup appears which states: 
  "Error creating patch: illegal use of | or &|"
I tracked the problem down to line 5064 in gitk, which belongs to diffcmd: 
  set cmd [concat | git diff-tree -r $flags $ids]  
This line produces something like 
  | git diff-tree -r -p 5441937e2... 7394db226...  
As you see there is a leading pipe symbol which caused the error message.  
Is there some special shell to use with gitk?? Or is it just a BUG?
If I remove the | after concat everything works smooth.
Thanks in advance,
 -- Maik
Message 1 of 1 in “gitk: possible bug in diffcmd”
  1. Maik BeckmannJan 5, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.