diff options
author | Your Name | 2021-01-21 10:17:32 +0100 |
---|---|---|
committer | Your Name | 2021-01-21 10:17:32 +0100 |
commit | 026b11166f110cbcad0aece13f7b5d7201592dd3 (patch) | |
tree | 1617d00469fb49b81895a4e4e41b91cccaa4e02b /PKGBUILD | |
parent | 4a460b8c9078746aae55aaa823a2d08ed146eee7 (diff) | |
download | aur-026b11166f110cbcad0aece13f7b5d7201592dd3.tar.gz |
next iteration
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -59,7 +59,7 @@ _gitLogByDay() { local NEXT=$(date +%F) local SINCE="1970-01-01" local UNTIL=$NEXT - local LOG_FORMAT="* %s %an" + local LOG_FORMAT="* %s" git log --no-merges --since="${SINCE}" --until="${UNTIL}" --format="%cd" --date=short --follow . | sort -u | while read DATE ; do local GIT_PAGER=$(git log --no-merges --reverse --format="${LOG_FORMAT}" --since="${DATE} 00:00:00" --until="${DATE} 23:59:59" --author="${AUTHOR}" --follow . | uniq) if [ ! -z "$GIT_PAGER" ] @@ -70,7 +70,8 @@ _gitLogByDay() { fi done } -if git rev-parse ; +if [ ! -e "changelog" ] \ + || git rev-parse ; then _gitLogByDay > changelog changelog="changelog" |