summaryrefslogtreecommitdiff
path: root/pod
diff options
context:
space:
mode:
authorMichael Witten <mfwitten@gmail.com>2011-05-16 01:57:37 +0000
committerFather Chrysostomos <sprout@cpan.org>2011-05-19 12:44:16 -0700
commit339b1cd05db3de2835b60993172b75a455b7e33f (patch)
tree58c646f1b3fead1ade4c0331e78792288884d539 /pod
parent74d9deb138b0bc6474f09ffcfe27c3ac8df02293 (diff)
downloadperl-339b1cd05db3de2835b60993172b75a455b7e33f.tar.gz
Docs: perlhack: Use correct shell code and better git/shell constructs
The example commands for using `git format-patch' and `perlbug' have been streamlined, and (most importantly) single quotes have been replaced with double quotes for constructing the argument to `-s'. Signed-off-by: Michael Witten <mfwitten@gmail.com>
Diffstat (limited to 'pod')
-rw-r--r--pod/perlhack.pod4
1 files changed, 2 insertions, 2 deletions
diff --git a/pod/perlhack.pod b/pod/perlhack.pod
index 95eccdaeaa..5e85f4ba74 100644
--- a/pod/perlhack.pod
+++ b/pod/perlhack.pod
@@ -59,8 +59,8 @@ via email.
Assuming your patch consists of a single git commit, you can send it to
perlbug with this command line:
- % git format-patch HEAD^1..HEAD
- % perlbug -s '[PATCH] `git log --pretty=format:%s HEAD^1..HEAD`' -f 0001-*.patch
+ % git format-patch -1
+ % perlbug -s "[PATCH] $(git log -1 --format=%s HEAD)" -f 0001-*.patch
The perlbug program will ask you a few questions about your email
address and the patch you're submitting. Once you've answered them you