Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
git-gui: always default to the last merged branch in remote delete
[gitweb.git]
/
git-gui.sh
diff --git
a/git-gui.sh
b/git-gui.sh
index 886719a8ce475049ddf9e32b9129210f2a685ec5..d96df63ab0501299761d2230c079109cc14d77c4 100755
(executable)
--- a/
git-gui.sh
+++ b/
git-gui.sh
@@
-139,6
+139,10
@@
if {$_trace >= 0} {
set _trace 0
}
+# variable for the last merged branch (useful for a default when deleting
+# branches).
+set _last_merged_branch {}
+
proc shellpath {} {
global _shellpath env
if {[string match @@* $_shellpath]} {