summaryrefslogtreecommitdiff
path: root/git-gui.sh
diff options
context:
space:
mode:
authorLibravatar Shawn O. Pearce <spearce@spearce.org>2007-07-05 01:07:06 -0400
committerLibravatar Shawn O. Pearce <spearce@spearce.org>2007-07-08 21:12:54 -0400
commit7cf044266779d69d3a16322b4d505bc87267a005 (patch)
tree433e6ed16c8689c5d7b7b884b96d1bb255a48085 /git-gui.sh
parentgit-gui: Sort tags descending by tagger date (diff)
downloadtgif-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 'git-gui.sh')
-rwxr-xr-xgit-gui.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/git-gui.sh b/git-gui.sh
index 63b2045d96..99df2d9480 100755
--- a/git-gui.sh
+++ b/git-gui.sh
@@ -1339,6 +1339,7 @@ set default_config(merge.verbosity) 2
set default_config(user.name) {}
set default_config(user.email) {}
+set default_config(gui.matchtrackingbranch) false
set default_config(gui.pruneduringfetch) false
set default_config(gui.trustmtime) false
set default_config(gui.diffcontext) 5