Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
fix bogus "diff --git" header from "diff --no-index"
[gitweb.git]
/
git-gui
/
lib
/
branch_delete.tcl
diff --git
a/git-gui/lib/branch_delete.tcl
b/git-gui/lib/branch_delete.tcl
index 86c4f73370a76ffa0196be0c58f11092b101cf0b..ef1930b4911591566be4561b8c17c24e1cfbfaad 100644
(file)
--- a/
git-gui/lib/branch_delete.tcl
+++ b/
git-gui/lib/branch_delete.tcl
@@
-127,7
+127,7
@@
method _delete {} {
foreach i $to_delete {
set b [lindex $i 0]
set o [lindex $i 1]
- if {[catch {git
update-ref -d "refs/heads/$b" $o
} err]} {
+ if {[catch {git
branch -D $b
} err]} {
append failed " - $b: $err\n"
}
}