git-gui: Don't switch branches if changing to the current branch.
authorShawn O. Pearce <spearce@spearce.org>
Thu, 25 Jan 2007 22:07:03 +0000 (17:07 -0500)
committerShawn O. Pearce <spearce@spearce.org>
Thu, 25 Jan 2007 22:16:57 +0000 (17:16 -0500)
commitd070c4cb17e807c157aaeb24d9b80a1112334e57
tree572736cf18caf9c5a3aaf508bf19e7ed64dbab99
parent3f7fd924a92c07c0fd4e8bd80b941171097db7f0
git-gui: Don't switch branches if changing to the current branch.

Its pointless to switch to the current branch, so don't do it. We
are already on it and the current index and working directory should
just be left alone.

Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
git-gui.sh