Skip to content

Commit 4ed1a19

Browse files
chungaspearce
authored andcommitted
git-gui: handle "deleted symlink" diff marker
Signed-off-by: Michele Ballabio <barra_cuda@katamail.com> Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
1 parent 2d19f8e commit 4ed1a19

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/diff.tcl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -203,6 +203,7 @@ proc read_diff {fd} {
203203
if {[string match {mode *} $line]
204204
|| [string match {new file *} $line]
205205
|| [string match {deleted file *} $line]
206+
|| [string match {deleted symlink} $line]
206207
|| [string match {Binary files * and * differ} $line]
207208
|| $line eq {\ No newline at end of file}
208209
|| [regexp {^\* Unmerged path } $line]} {

0 commit comments

Comments
 (0)