diff options
| author | bringert <bringert@cs.chalmers.se> | 2005-11-26 01:36:32 +0000 |
|---|---|---|
| committer | bringert <bringert@cs.chalmers.se> | 2005-11-26 01:36:32 +0000 |
| commit | e74fc3a3b5f3a6cf7b1f776ed0ceb75f2a6dce77 (patch) | |
| tree | 50402a359f93605670dca220bb4e0a6689b25962 | |
| parent | 2f5ee5b6ef1c9a8bf8d13cab5c6ef05a10553131 (diff) | |
Add instructions about compressing patches.
| -rw-r--r-- | doc/darcs.html | 8 | ||||
| -rw-r--r-- | 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: </P> <PRE> $ darcs send -o mypatch.patch + $ gzip mypatch.patch </PRE> <P></P> <P> (where <CODE>mypatch</CODE> 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. +</P> +<P> +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 <CODE>-o mypatch.patch</CODE> with <CODE>--to=EMAIL</CODE> where <CODE>EMAIL</CODE> 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. |
