Staging
v0.5.0
https://github.com/git/git
Revision 981193786fc30b9ee73b9f223a75642b4ed455b9 authored by Shawn O. Pearce on 21 February 2007, 06:33:59 UTC, committed by Shawn O. Pearce on 21 February 2007, 06:33:59 UTC
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>
1 parent 7391b2e
History
Tip revision: 981193786fc30b9ee73b9f223a75642b4ed455b9 authored by Shawn O. Pearce on 21 February 2007, 06:33:59 UTC
git-gui: Don't crash in citool mode on initial commit.
Tip revision: 9811937
File Mode Size
.gitignore -rw-r--r-- 49 bytes
CREDITS-GEN -rwxr-xr-x 1.4 KB
GIT-VERSION-GEN -rwxr-xr-x 1.8 KB
Makefile -rw-r--r-- 1.5 KB
git-gui.sh -rwxr-xr-x 146.6 KB

back to top