summaryrefslogtreecommitdiff
path: root/git-gui/git-gui.sh
diff options
context:
space:
mode:
authorPat Thoyts <patthoyts@users.sourceforge.net>2013-06-15 22:36:27 (GMT)
committerPat Thoyts <patthoyts@users.sourceforge.net>2013-06-15 22:36:27 (GMT)
commit5c37033edf7963616038ff8b980047d5671e168e (patch)
treeb163e9f088f10dd83fb4cee25e2dfd647611b186 /git-gui/git-gui.sh
parent2f38dd03fcefb7ad3a6db2703eeb6dd9b4fd34b6 (diff)
downloadgit-5c37033edf7963616038ff8b980047d5671e168e.zip
git-5c37033edf7963616038ff8b980047d5671e168e.tar.gz
git-5c37033edf7963616038ff8b980047d5671e168e.tar.bz2
git-gui: avoid an error message when removing the last remote
When the last remote is removed on a system that has tearoff menu items the code that adjusts the fetch and prune menus may raise an error when probing the menu entry for a non-existing -label option. Check the entry type to avoid this fault. Reported-by: Vedran Miletić <rivanvx@gmail.com> Signed-off-by: Pat Thoyts <patthoyts@users.sourceforge.net>
Diffstat (limited to 'git-gui/git-gui.sh')
0 files changed, 0 insertions, 0 deletions