public inbox for patchutils-list@sourceware.org
 help / color / mirror / Atom feed
From: SF Markus Elfring <elfring@users.sourceforge.net>
To: patchutils-list@sourceware.org
Subject: Support for index data by splitdiff command
Date: Wed, 30 Sep 2009 17:11:00 -0000	[thread overview]
Message-ID: <1398901133@web.de> (raw)

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

             reply	other threads:[~2009-09-30 17:11 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-30 17:11 SF Markus Elfring [this message]
     [not found] <1254885773.10925.ezmlm@sourceware.org>
2009-10-07  3:57 ` Sergio Monteiro Basto
2009-10-10 19:10 SF Markus Elfring
2009-10-12 22:27 ` Sergio Monteiro Basto
2010-11-26  3:02 ` Sergio Monteiro Basto

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1398901133@web.de \
    --to=elfring@users.sourceforge.net \
    --cc=patchutils-list@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).