git-gui: Create missing branch head on initial commit.
authorShawn O. Pearce <spearce@spearce.org>
Sun, 21 Jan 2007 23:00:03 +0000 (18:00 -0500)
committerShawn O. Pearce <spearce@spearce.org>
Mon, 22 Jan 2007 03:47:59 +0000 (22:47 -0500)
commitf5925d934fdd1ffc3ded7272ea278437608f5f50
tree2f2b301e42ebd10a3442814fadb9273d232447ba
parentc5a1eb889ca3df51ac443916a037b59c46983239
git-gui: Create missing branch head on initial commit.

If we are making an initial commit our branch head did not exist when
we scanned for all heads during startup.  Consequently we won't have
it in our branch menu.  So force it to be put there after the ref was
created.

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