diff options
author | Eric Wong <normalperson@yhbt.net> | 2007-12-15 19:08:22 -0800 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2007-12-19 00:04:21 -0800 |
commit | ad94802a7bc599ade73ec0b04c61b2f80b3c1b23 (patch) | |
tree | d80b965c187a60d225f09ea83ce432250ca0aafe /hash.c | |
parent | fix style of a few comments in diff-delta.c (diff) | |
download | tgif-ad94802a7bc599ade73ec0b04c61b2f80b3c1b23.tar.xz |
git-svn: avoid leaving leftover committer/author info in rebase
We set the 6 environment variables for controlling
committer/author email/name/time for every commit.
We do this in the parent process to be passed to
git-commit-tree, because open3() doesn't afford us the control
of doing it only in the child process. This means we leave them
hanging around in the main process until the next revision comes
around and all 6 environment variables are overwridden again.
Unfortunately, for the last commit, leaving them hanging around
means the git-rebase invocation will pick it up, rewriting the
rebased commit with incorrect author information. This should fix
it.
Signed-off-by: Eric Wong <normalperson@yhbt.net>
Diffstat (limited to 'hash.c')
0 files changed, 0 insertions, 0 deletions