Gentoo Archives: gentoo-commits

From: Richard Yao <ryao@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/genkernel:ryao commit in: /
Date: Thu, 06 Jun 2013 06:09:27
Message-Id: 1370498915.60081c578b0d0893b0faff12c820fb41c7abf8a6.ryao@gentoo
1 commit: 60081c578b0d0893b0faff12c820fb41c7abf8a6
2 Author: Richard Yao <ryao <AT> gentoo <DOT> org>
3 AuthorDate: Thu Jun 6 06:07:48 2013 +0000
4 Commit: Richard Yao <ryao <AT> gentoo <DOT> org>
5 CommitDate: Thu Jun 6 06:08:35 2013 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/genkernel.git;a=commit;h=60081c57
7
8 Update HACKING to use git-shortlog
9
10 The old command we used to generate a change history for announcement
11 emails no longer works, so we switch to git-shortlog.
12
13 Signed-off-by: Richard Yao <ryao <AT> gentoo.org>
14
15 ---
16 HACKING | 4 ++--
17 1 file changed, 2 insertions(+), 2 deletions(-)
18
19 diff --git a/HACKING b/HACKING
20 index 7ac0a60..d8b9f21 100644
21 --- a/HACKING
22 +++ b/HACKING
23 @@ -35,7 +35,7 @@ Rolling a release:
24 <gentoo-genkernel@l.g.o> and <genkernel@g.o>.
25 Use
26
27 - PREV_TAG=$(git tag -l | tail -n 2 | head -n 1)
28 - git diff ${PREV_TAG}..v${PV} ChangeLog | /bin/grep '^+\($\| \)' | sed 's|^+ *||' | xsel
29 + PREV_TAG=$(git tag -l | tail -n 2 | head -n 1) \
30 + git shortlog ${PREV_TAG}..v${PV} | xsel
31
32 to generate the mail body.