summaryrefslogtreecommitdiff
path: root/git-gui/git-gui.sh
diff options
context:
space:
mode:
authorShawn O. Pearce <spearce@spearce.org>2007-02-21 06:33:59 (GMT)
committerShawn O. Pearce <spearce@spearce.org>2007-02-21 06:33:59 (GMT)
commit981193786fc30b9ee73b9f223a75642b4ed455b9 (patch)
tree6bc4da1ba5e542f5887e96d8ae3c516cac26c246 /git-gui/git-gui.sh
parent7391b2e9991e138786a2ac049ce7f276f7abce40 (diff)
downloadgit-981193786fc30b9ee73b9f223a75642b4ed455b9.zip
git-981193786fc30b9ee73b9f223a75642b4ed455b9.tar.gz
git-981193786fc30b9ee73b9f223a75642b4ed455b9.tar.bz2
git-gui: Don't crash in citool mode on initial commit.gitgui-0.6.1
Attempting to use `git citool` to create an initial commit caused git-gui to crash with a Tcl error as it tried to add the newly born branch to the non-existant branch menu. Moving this code to after the normal commit cleanup logic resolves the issue, as we only have a branch menu if we are not in singlecommit mode. Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Diffstat (limited to 'git-gui/git-gui.sh')
0 files changed, 0 insertions, 0 deletions