aboutsummaryrefslogtreecommitdiffstats
path: root/gitlog2changelog
diff options
context:
space:
mode:
authorTatsuya Kinoshita <tats@debian.org>2020-11-22 12:42:50 +0000
committerTatsuya Kinoshita <tats@debian.org>2020-11-22 12:42:50 +0000
commitc742d2b4de5a1d4557f6e0ba1ea75ecc8ab127ca (patch)
treef5836d5a7d30f3d4fbf0ba5c04712a0fc345fe99 /gitlog2changelog
parentDrop HAVE_SYS_ERRLIST (diff)
downloadw3m-c742d2b4de5a1d4557f6e0ba1ea75ecc8ab127ca.tar.gz
w3m-c742d2b4de5a1d4557f6e0ba1ea75ecc8ab127ca.zip
Update example to use UTC for gitlog2changelog
Diffstat (limited to 'gitlog2changelog')
-rwxr-xr-xgitlog2changelog5
1 files changed, 3 insertions, 2 deletions
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.)