summaryrefslogtreecommitdiff
path: root/doc/darcs.txt
diff options
context:
space:
mode:
authorbringert <bringert@cs.chalmers.se>2005-11-26 01:36:32 +0000
committerbringert <bringert@cs.chalmers.se>2005-11-26 01:36:32 +0000
commite74fc3a3b5f3a6cf7b1f776ed0ceb75f2a6dce77 (patch)
tree50402a359f93605670dca220bb4e0a6689b25962 /doc/darcs.txt
parent2f5ee5b6ef1c9a8bf8d13cab5c6ef05a10553131 (diff)
Add instructions about compressing patches.
Diffstat (limited to 'doc/darcs.txt')
-rw-r--r--doc/darcs.txt7
1 files changed, 6 insertions, 1 deletions
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.