Jerome BENOIT wrote:
> Hello List:
> 
> Is there any way to comment a diff file ?

Interesting question. I don't know, but perhaps this paragraph from
the patch(1) may help:

patch  tries to skip any leading garbage, apply the diff, and then skip
any trailing garbage.  Thus you could feed an article or message  con-
taining  a  diff  listing  to patch, and it should work.  If the entire
diff is indented by a consistent amount, or if a context diff contains
lines ending in CRLF or is encapsulated one or more times by prepending
"- " to lines starting with "-" as specified by Internet RFC 934,  this
is  taken  into  account.   After  removing indenting or encapsulation,
lines beginning with # are ignored, as they are considered to be  com-
ments.


-- 
Cheers,
Clive


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20111125181454.ga8...@rimmer.esmertec.com

Reply via email to