summaryrefslogtreecommitdiff
path: root/help.h
diff options
context:
space:
mode:
authorLibravatar Phillip Wood <phillip.wood@dunelm.org.uk>2020-08-17 18:40:01 +0100
committerLibravatar Junio C Hamano <gitster@pobox.com>2020-08-17 11:58:37 -0700
commite8cbe2118a8e3c1aa71ed8d93f96001decebde1d (patch)
tree2a431c9955a73175b6edc8ee95cc1dfa311946d5 /help.h
parentrebase -i: add --ignore-whitespace flag (diff)
downloadtgif-e8cbe2118a8e3c1aa71ed8d93f96001decebde1d.tar.xz
am: stop exporting GIT_COMMITTER_DATE
The implementation of --committer-date-is-author-date exports GIT_COMMITTER_DATE to override the default committer date but does not reset GIT_COMMITTER_DATE in the environment after creating the commit so it is set in the environment of any hooks that get run. We're about to add the same functionality to the sequencer and do not want to have GIT_COMMITTER_DATE set when running hooks or exec commands so lets update commit_tree_extended() to take an explicit committer so we override the default date without setting GIT_COMMITTER_DATE in the environment. Signed-off-by: Phillip Wood <phillip.wood@dunelm.org.uk> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'help.h')
0 files changed, 0 insertions, 0 deletions