From: Marcin Krol Date: Mon, 9 Jul 2012 14:23:11 +0000 (+0000) Subject: - changelog fix X-Git-Url: https://git.tld-linux.org/?a=commitdiff_plain;h=87057b48e30fd694cbd6a98df803fe4b06784d3b;p=packages%2Frpm-build-tools.git - changelog fix --- diff --git a/builder b/builder index 1927dfd..1050850 100755 --- a/builder +++ b/builder @@ -452,7 +452,7 @@ insert_gitlog() { # * 1265749244 +0000 Random Hacker 9370900 git rev-list -${log_entries:-20} HEAD | while read sha1; do local logfmt='%B%n' - git notes list $sha1 &> /dev/null && logfmt=%N + git notes list $sha1 1>/dev/null 2>&1 && logfmt=%N git log -n 1 $sha1 --format=format:"* %ad %an <%ae> %h%n${logfmt}%n" --date=raw | sed '/^$/q' done > $gitlog LC_ALL=C gawk '/^\* /{printf("* %s %s\n", strftime("%a %b %d %Y", $2), substr($0, length($1)+length($2)+length($3)+4)); next}{print}' $gitlog > $speclog