Support for index data by splitdiff command
SF Markus Elfring
elfring@users.sourceforge.net
Wed Sep 30 17:11:00 GMT 2009
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
More information about the Patchutils-list
mailing list