diff options
author | Christian Poessinger <christian@poessinger.com> | 2021-06-26 20:51:24 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2021-06-26 20:51:24 +0200 |
commit | 8765873048bd0f39bf3c833503e12a9a85d398a6 (patch) | |
tree | be0b8044262c80f193f58d3dbb1ca704455d5563 /packages/frr | |
parent | c803d87f123accec097f1a3a9c220f7637bc4896 (diff) | |
download | vyos-build-8765873048bd0f39bf3c833503e12a9a85d398a6.tar.gz vyos-build-8765873048bd0f39bf3c833503e12a9a85d398a6.zip |
frr: when using "git am" for patches, use date from the e-mail message
By default the command records the date from the e-mail message as the commit
author date, and uses the time of commit creation as the committer date. This
allows the user to lie about the committer date by using the same value as the
author date.
Diffstat (limited to 'packages/frr')
-rwxr-xr-x | packages/frr/build-frr.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/frr/build-frr.sh b/packages/frr/build-frr.sh index d6ea62b..bcf26eb 100755 --- a/packages/frr/build-frr.sh +++ b/packages/frr/build-frr.sh @@ -25,7 +25,7 @@ if [ -d $PATCH_DIR ]; then # user.email variables as these is not set in the build container by default. OPTS="-c user.name=VyOS-CI -c user.email=maintainers@vyos.io" fi - git $OPTS am ${PATCH_DIR}/${patch} + git $OPTS am --committer-date-is-author-date ${PATCH_DIR}/${patch} done fi |