diff options
author | Shawn O. Pearce <spearce@spearce.org> | 2007-07-05 01:07:06 -0400 |
---|---|---|
committer | Shawn O. Pearce <spearce@spearce.org> | 2007-07-08 21:12:54 -0400 |
commit | 7cf044266779d69d3a16322b4d505bc87267a005 (patch) | |
tree | 433e6ed16c8689c5d7b7b884b96d1bb255a48085 /lib/option.tcl | |
parent | git-gui: Sort tags descending by tagger date (diff) | |
download | tgif-7cf044266779d69d3a16322b4d505bc87267a005.tar.xz |
git-gui: Option to default new branches to match tracking branches
In some workflows users will want to almost always just create a new
local branch that matches a remote branch. In this type of workflow
it is handy to have the new branch dialog default to "Match Tracking
Branch" and "Starting Revision"-Tracking Branch", with the focus in
the branch filter field. This can save users working on this type
of workflow at least two mouse clicks every time they create a new
local branch or switch to one with a fast-forward.
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Diffstat (limited to 'lib/option.tcl')
-rw-r--r-- | lib/option.tcl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/option.tcl b/lib/option.tcl index ae19a8f9cf..743304269b 100644 --- a/lib/option.tcl +++ b/lib/option.tcl @@ -191,6 +191,7 @@ proc do_options {} { {b gui.trustmtime {Trust File Modification Timestamps}} {b gui.pruneduringfetch {Prune Tracking Branches During Fetch}} + {b gui.matchtrackingbranch {Match Tracking Branches}} {i-0..99 gui.diffcontext {Number of Diff Context Lines}} {t gui.newbranchtemplate {New Branch Name Template}} } { |