This is the mail archive of the
patchutils-list@sourceware.org
mailing list for the patchutils project.
Support for index data by splitdiff command
- From: SF Markus Elfring <elfring at users dot sourceforge dot net>
- To: patchutils-list at sourceware dot org
- Date: Wed, 30 Sep 2009 19:11:00 +0200
- Subject: Support for index data by splitdiff command
Hello,
I would like to point out an open issue for the tool "splitdiff" from the software package "patchutils 0.3.0-1.52".
A special header "Index:" is mentioned in the article "http://en.wikipedia.org/wiki/Diff". Tools like Subversion write it into difference files. The current command does not handle this data correctly.
The following input ...
Index: abc.h
===================================================================
--- abc.h (Revision 123)
+++ abc.h (work copy)
@@ -1,1 +1,1 @@
-check
+out
Index: xyz.h
===================================================================
--- xyz.h (Revision 987)
+++ xyz.h (work copy)
@@ -1,1 +1,1 @@
-test
+this
... is converted into the following arrangement by "splitdiff -a".
First source file:
--- abc.h (Revision 123)
+++ abc.h (work copy)
@@ -1,1 +1,1 @@
-check
+out
Index: xyz.h
===================================================================
Second source file:
--- xyz.h (Revision 987)
+++ xyz.h (work copy)
@@ -1,1 +1,1 @@
-test
+this
I would appreciate if the first file will keep its own header and will not additionally get informations from the second file.
Regards,
Markus