Michele Ballabio writes: > When we are on a detached head, reset has no sense, so disable > the line on the context menu. Sounds reasonable. > - $menu entryconfigure 7 -label [mc "Reset %s branch to here" $mainhead] > + if {$mainhead ne {}} { > + $menu entryconfigure 7 -label [mc "Reset %s branch to here" $mainhead] > + } else { > + $menu entryconfigure 7 -label [mc "Reset %s branch to here" $mainhead] -state disabled I wonder if we can make this message something more appropriate than "Reset branch to here" (since $mainhead has to be the empty string here)? Not sure what I would suggest though. :) Paul. -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html