3 # Prepare the content of the next tig release announcement.
6 # Copyright (c) 2008-2009 Jonas Fonseca <fonseca@diku.dk>
8 # This program is free software; you can redistribute it and/or
9 # modify it under the terms of the GNU General Public License as
10 # published by the Free Software Foundation; either version 2 of
11 # the License, or (at your option) any later version.
13 # This program is distributed in the hope that it will be useful,
14 # but WITHOUT ANY WARRANTY; without even the implied warranty of
15 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 # GNU General Public License for more details.
18 root
="$(git rev-parse --show-cdup)"
21 from
="$(sed -n '7,/^tig-/p' < "$NEWS" | tail -n 1 | cut -d' ' -f 1)"
25 test -n "$(git rev-list --skip=50 $from..$to)" && short
=-s
29 $(echo "$to" | sed 's/[0-9a-zA-Z.-]/=/g')
31 *** text for the announcement ***
35 Tig is an ncurses-based text-mode interface for git. It functions mainly
36 as a git repository browser, but can also assist in staging changes for
37 commit at chunk level and act as a pager for output from various git
40 $(sed -n '/-/p' < "$SITES" | sed 's/[[(].*//')
44 $(sed -n '7,/^tig-/p' < "$NEWS" | sed '/^tig-/d')
48 The diffstat and log summary for changes made in this release.
50 $(git diff-tree --stat=72 $from..$to)
52 $(git shortlog $short $from..$to)