author | Peter Krefting <peter@softwolves.pp.se> | |
Thu, 21 Jan 2010 12:15:17 +0000 (13:15 +0100) | ||
committer | Shawn O. Pearce <spearce@spearce.org> | |
Sat, 23 Jan 2010 22:46:12 +0000 (14:46 -0800) | ||
commit | e27d106ec4b2f68c210703e4bfa3a0a0cf2550a4 | |
tree | 02cf3b8a955c0852f14c1cb0a87cc8afdc98cd17 | tree | snapshot |
parent | 3c6a2870274ea629499dfb6a925548caf55ee105 | commit | diff |
git-gui: Fix gitk for branch whose name matches local file
When trying to run gitk on a branch name whose name matches a local
file, it will toss an error saying that the name is ambiguous. Adding
a pair of dashes will make gitk parse the options to the left of
it as branch names. Since wish eats the first pair of dashes we
throw at it, we need to add a second one to ensure they get through.
Signed-off-by: Peter Krefting <peter@softwolves.pp.se>
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
When trying to run gitk on a branch name whose name matches a local
file, it will toss an error saying that the name is ambiguous. Adding
a pair of dashes will make gitk parse the options to the left of
it as branch names. Since wish eats the first pair of dashes we
throw at it, we need to add a second one to ensure they get through.
Signed-off-by: Peter Krefting <peter@softwolves.pp.se>
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
git-gui.sh | diff | blob | history |