Ticket #2149 (new defect) — at Initial Version

Opened 14 years ago

Last modified 14 years ago

Patches adding a single line are not shown correctly by patchfs

Reported by: zaytsev Owned by:
Priority: major Milestone: 4.7.2
Component: mc-vfs Version: master
Keywords: Cc: kdave, zaytsev
Blocked By: Blocking:
Branch state: Votes for changeset:

Description

Forwarded from Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=551528

From: Jakub Wilk <ubanus@users.sf.net>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: mc: patches adding a single line are not shown correctly by patchfs
Date: Sun, 18 Oct 2009 22:14:57 +0200

$ cat < test.diff 
--- a/foo
+++ b/foo
@@ -0,0 +1 @@
+bar

$ mcview test.diff#patchfs/a/foo.diff 
--- a/foo
+++ b/foo

Note: See TracTickets for help on using tickets.