From c742d2b4de5a1d4557f6e0ba1ea75ecc8ab127ca Mon Sep 17 00:00:00 2001 From: Tatsuya Kinoshita Date: Sun, 22 Nov 2020 21:42:50 +0900 Subject: Update example to use UTC for gitlog2changelog --- gitlog2changelog | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'gitlog2changelog') diff --git a/gitlog2changelog b/gitlog2changelog index be57518..f664b74 100755 --- a/gitlog2changelog +++ b/gitlog2changelog @@ -8,9 +8,10 @@ gitlog2changelog - tiny tool to convert Git commit logs to GNU-style ChangeLog git log | gitlog2changelog > ChangeLog -git log --no-merges --numstat --pretty=fuller | gitlog2changelog > ChangeLog +TZ=UTC git log --date=local --no-merges --numstat --pretty=fuller | gitlog2changelog > ChangeLog -(Use --no-merges to ignore merge commits. +(Use TZ=UTC and --date=local to use UTC instead of the original time zone. + Use --no-merges to ignore merge commits. Use --numstat to show changed files. Use --pretty=fuller to show committer date instead of author date.) -- cgit v1.2.3