git-gui: Update known branches during rescan.
commit63faf4df6e174cc1e33a759d49133044c732ea32
authorShawn O. Pearce <spearce@spearce.org>
Thu, 8 Feb 2007 20:59:39 +0000 (8 15:59 -0500)
committerShawn O. Pearce <spearce@spearce.org>
Thu, 8 Feb 2007 20:59:39 +0000 (8 15:59 -0500)
treed868c9e02971ccfc4fd42945652925d8b8b67b8b
parent37f1db80a46cf753308bfc9b5de9dd3b3a551218
git-gui: Update known branches during rescan.

If the user has created (or deleted) a branch through an external tool,
and uses Rescan, they probably are trying to make git-gui update to show
their newly created branch.

So now we load all known heads and update the branch menu during any
rescan operation, just in-case the set of known branches was modified.

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