summaryrefslogtreecommitdiff
path: root/lib/diff.tcl
diff options
context:
space:
mode:
authorLibravatar Shawn O. Pearce <spearce@spearce.org>2007-05-30 11:27:49 -0400
committerLibravatar Shawn O. Pearce <spearce@spearce.org>2007-05-30 19:34:40 -0400
commit905d9c9653a7dc324a1c6fbf883a1b9bcdc6e5bf (patch)
treedbfe5e13e842e641a4d8f61e5748fe270a2ea69d /lib/diff.tcl
parentgit-gui: Guess our share/git-gui/lib path at runtime if possible (diff)
downloadtgif-905d9c9653a7dc324a1c6fbf883a1b9bcdc6e5bf.tar.xz
git-gui: Allow creating a branch when none exists
If the user has no branches at all (their refs/heads/ is empty) and they are on a detached HEAD we have a valid repository but there are no branches to populate into the branch pulldown in the create branch dialog. Instead of erroring out we can skip that part of the dialog, much like we do with tracking branches or tags when the user doesn't have any. Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Diffstat (limited to 'lib/diff.tcl')
0 files changed, 0 insertions, 0 deletions