docs: Fix mail body generation hint
authorSebastian Pipping <sebastian@pipping.org>
Mon, 10 Sep 2012 01:38:40 +0000 (03:38 +0200)
committerSebastian Pipping <sebastian@pipping.org>
Mon, 10 Sep 2012 01:38:43 +0000 (03:38 +0200)
HACKING

diff --git a/HACKING b/HACKING
index a802779ed12ae53af41717a7999fb33391335484..479f1aa8380ae3c8621ece40b143e17cc7fcf888 100644 (file)
--- a/HACKING
+++ b/HACKING
@@ -36,7 +36,7 @@ Rolling a release:
   <gentoo-genkernel@lists.gentoo.org> and <genkernel@gentoo.org>.
   Use
 
-    PV_PREV=$(git tag -l | tail -n 2 | head -n 1)
-    git diff ${PV_PREV}..${PV} ChangeLog | /bin/grep '^+\($\|  \)' | sed 's|^+ *||' | xsel
+    PREV_TAG=$(git tag -l | tail -n 2 | head -n 1)
+    git diff ${PREV_TAG}..v${PV} ChangeLog | /bin/grep '^+\($\|  \)' | sed 's|^+ *||' | xsel
 
-  to generate that the mail body.
+  to generate the mail body.