git-gui 0.6.1
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (Darwin)

iD8DBQBF3IzTUNGUoZnrPF0RAr9YAJ9ENhAYe/3tePdIUALH2CttS0PlxwCggk0V
wv+wWD58Ob/LqgGVZuY8RG8=
=Gw9Y
-----END PGP SIGNATURE-----
git-gui: Don't crash in citool mode on initial commit.

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 file changed
tree: 6bc4da1ba5e542f5887e96d8ae3c516cac26c246
  1. .gitignore
  2. CREDITS-GEN
  3. GIT-VERSION-GEN
  4. Makefile
  5. git-gui.sh