git-gui: Describe deleted symlinks in a more friendly way.
[gitweb.git] / git-gui
diff --git a/git-gui b/git-gui
index bd22125e5130207871446c73863be23e2ed962f6..3f7e40835656bac8ac6eeab1af43d4ca74fdeec5 100755 (executable)
--- a/git-gui
+++ b/git-gui
@@ -628,6 +628,9 @@ proc read_diff {fd} {
                if {[string match {diff --combined *} $line]} continue
                if {[string match {--- *} $line]} continue
                if {[string match {+++ *} $line]} continue
+               if {$line eq {deleted file mode 120000}} {
+                       set line "deleted symlink"
+               }
                if {[string match index* $line]} {
                        if {[string first , $line] >= 0} {
                                set diff_3way 1