From 08d75593c38f68041da8e074eafe732eaf3cbdaf Mon Sep 17 00:00:00 2001 From: bringert Date: Sat, 26 Nov 2005 01:36:32 +0000 Subject: [PATCH] Add instructions about compressing patches. --- doc/darcs.html | 8 +++++++- doc/darcs.txt | 7 ++++++- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/doc/darcs.html b/doc/darcs.html index fc7a5eecf..dd4432e2b 100644 --- a/doc/darcs.html +++ b/doc/darcs.html @@ -139,11 +139,17 @@ repository, as described above. Then create the patch with:

   $ darcs send -o mypatch.patch
+  $ gzip mypatch.patch
 

(where mypatch is hopefully replaced by a slightly more -descriptive name). Send it as an e-mail attachment. If you have +descriptive name). Since some e-mail setups change text attachments +(most likely by changing the newline characters) you need to send +the patch in some compressed format, such as GZIP, BZIP2 or ZIP. +

+

+Send it as an e-mail attachment. If you have sendmail or something equivalent installed, it is possible to send the patch directly from darcs. If so, replace -o mypatch.patch with --to=EMAIL where EMAIL is the address to send it to. diff --git a/doc/darcs.txt b/doc/darcs.txt index cc3464097..bee031fc0 100644 --- a/doc/darcs.txt +++ b/doc/darcs.txt @@ -87,10 +87,15 @@ repository, as described above. Then create the patch with: ``` $ darcs send -o mypatch.patch +$ gzip mypatch.patch ``` (where ``mypatch`` is hopefully replaced by a slightly more -descriptive name). Send it as an e-mail attachment. If you have +descriptive name). Since some e-mail setups change text attachments +(most likely by changing the newline characters) you need to send +the patch in some compressed format, such as GZIP, BZIP2 or ZIP. + +Send it as an e-mail attachment. If you have sendmail or something equivalent installed, it is possible to send the patch directly from darcs. If so, replace ``-o mypatch.patch`` with ``--to=EMAIL`` where ``EMAIL`` is the address to send it to.