summaryrefslogtreecommitdiff
path: root/git-gui.sh
diff options
context:
space:
mode:
authorShawn O. Pearce <spearce@spearce.org>2007-07-05 05:07:06 (GMT)
committerShawn O. Pearce <spearce@spearce.org>2007-07-09 01:12:54 (GMT)
commit7cf044266779d69d3a16322b4d505bc87267a005 (patch)
tree433e6ed16c8689c5d7b7b884b96d1bb255a48085 /git-gui.sh
parent560eddc00c02e82077998200e8d8a45c31af924c (diff)
downloadgit-7cf044266779d69d3a16322b4d505bc87267a005.zip
git-7cf044266779d69d3a16322b4d505bc87267a005.tar.gz
git-7cf044266779d69d3a16322b4d505bc87267a005.tar.bz2
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 63b2045..99df2d9 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