Code

git-gui: Allow users to match remote branch names locally
authorShawn O. Pearce <spearce@spearce.org>
Wed, 4 Jul 2007 06:19:53 +0000 (02:19 -0400)
committerShawn O. Pearce <spearce@spearce.org>
Mon, 9 Jul 2007 01:12:50 +0000 (21:12 -0400)
commitdd87efc8cc71ceb6aa9a27e900976c317c927846
tree78619665e386f6d569da37a08a71e1dd09422c7f
parent79a060e477a743ad49508aec9a491fe1aa7d7c3b
git-gui: Allow users to match remote branch names locally

Some workflows have users create a local branch that matches a remote
branch they have fetched from another repository.  If the user wants
to push their changes back to that remote repository then they probably
want to use the same branch name locally so that git-gui's push dialog
can setup the push refspec automatically.

To prevent typos with the local branch name we now offer an option to
use the remote tracking branch name as the new local branch name.

Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
lib/branch_create.tcl
lib/choose_rev.tcl