6 [[ -n $NO_COLOR ]] || coloured_git=--color
9 [[ -e issues/$issue/comment ]] || exit 0
10 hashes=(`git log --format=format:%H issues/$issue/comment`)
11 for i ({${#hashes}..1}) {
12 comment=`git cat-file blob ${hashes[$i]}:issues/$issue/comment | sed "s/^/+ /"`
13 [[ -n $comment ]] || continue
14 header=`git show $coloured_git --no-patch --format=format:"%CgreenWhen: %ai%Creset%n%CredAuthor: %an <%ae>%Creset%n%CblueComment:%Creset" ${hashes[$i]}`
17 [[ $i -eq 1 ]] || print