This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
perlhack.pod: fix perlbug invocation
authorJim Cromie (via RT) <perlbug-followup@perl.org>
Sun, 29 May 2011 01:39:48 +0000 (18:39 -0700)
committerDavid Mitchell <davem@iabyn.com>
Tue, 31 May 2011 14:33:19 +0000 (15:33 +0100)
commitd23ed4f3a45ba6d4fd1addb59dd6fca9360e2aff
tree8ead44151581b0bfa0d934b6890f4184adf89f82
parentddd2cc91d6090d4bcc45a8bb113437dd58fd2335
perlhack.pod: fix perlbug invocation

In perlhack,

  % perlbug -s "[PATCH] $(git log -1 --format=%s HEAD)" -f 0001-*.patch

is incomplete; --format=%s needs a proper value.
Use --oneline instead, as it also --abbrev(iates) sha1

$ git log --oneline -1
c8dfc96 regexp.h: repair linux perf compilation

Note that HEAD is optional, but just as clear as <branch-name>.
pod/perlhack.pod