summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSean Whitton2016-01-17 14:01:45 -0700
committerJoey Hess2016-01-18 13:15:12 -0400
commit6e8f917f084eade3ac2adbe6b1350ab6c8ff3c82 (patch)
tree6c7ad6c3eef74e8a86f54df2d70d848185a08541
parentd4abec5bd37abab84923b3d91f50404512c09b74 (diff)
set both author and committer date
(cherry picked from commit 37b753ad62672488ad3fb4ac90316723ed27a1a7)
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 5621c7a7..d1809458 100644
--- a/Makefile
+++ b/Makefile
@@ -22,11 +22,13 @@ install:
find dist/gittmp -print0 | xargs -0r touch --no-dereference --date="$(DATE)"
export GIT_AUTHOR_NAME=build \
&& export GIT_AUTHOR_EMAIL=build@buildhost \
+ && export GIT_AUTHOR_DATE="$(DATE)" \
&& export GIT_COMMITTER_NAME=build \
&& export GIT_COMMITTER_EMAIL=build@buildhost \
+ && export GIT_COMMITTER_DATE="$(DATE)" \
&& cd dist/gittmp && git init \
&& git add . \
- && git commit --date="$(DATE)" -q -m "distributed version of propellor" \
+ && git commit -q -m "distributed version of propellor" \
&& git bundle create $(DESTDIR)/usr/src/propellor/propellor.git master HEAD \
&& git show-ref master --hash > $(DESTDIR)/usr/src/propellor/head
rm -rf dist/gittmp