summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: a69b2d1)
raw | patch | inline | side by side (parent: a69b2d1)
author | Paul Mackerras <paulus@samba.org> | |
Wed, 15 Aug 2007 00:09:47 +0000 (10:09 +1000) | ||
committer | Paul Mackerras <paulus@samba.org> | |
Wed, 15 Aug 2007 00:09:47 +0000 (10:09 +1000) |
When we had two heads on the same commit, and the user tried to remove
one of them, gitk was sometimes incorrectly saying that the commits
on that branch weren't on any other branch. This fixes it.
Signed-off-by: Paul Mackerras <paulus@samba.org>
one of them, gitk was sometimes incorrectly saying that the commits
on that branch weren't on any other branch. This fixes it.
Signed-off-by: Paul Mackerras <paulus@samba.org>
gitk | patch | blob | history |
index 57617d58b070892a730e956e82a2f382c28659e2..6faa7f7ef1ca8e250089d2382715ac86136a5eaa 100755 (executable)
--- a/gitk
+++ b/gitk
proc rmbranch {} {
global headmenuid headmenuhead mainhead
- global headids idheads
+ global idheads
set head $headmenuhead
set id $headmenuid
return
}
set dheads [descheads $id]
- if {$dheads eq $headids($head)} {
+ if {$idheads($dheads) eq $head} {
# the stuff on this branch isn't on any other branch
if {![confirm_popup "The commits on branch $head aren't on any other\
branch.\nReally delete branch $head?"]} return