This is the mail archive of the patchutils-list@sourceware.org mailing list for the patchutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]