Thread (5 messages) 5 messages, 2 authors, 2016-06-15

Re: [PATCH 3/3] rebase -i: Export GIT_AUTHOR_* variables explicitly

flat view

From: Johannes Schindelin <hidden>
Date: 2016-06-15 22:48:05

Hi,

On Fri, 22 Jan 2010, Michael Haggerty wrote:
As pointed out on the mailing list, one-shot shell variable exports do
not necessarily work with shell functions.  So export the GIT_AUTHOR_*
variables explicitly using "export".
This one's a bit hairy; I really was not sure about unintended side 
effects, that is why I avoided the export.

Just imagine, for example, some git commit --amend which forgets to set 
the author information; I am not saying that this is happening, but I 
cannot be sure, because every possible code path to a git 
commit/commit-tree has to be checked, and this does not mean that future 
patches will not introduce such broken code, either.

It might also be possible that some people scripted rebase -i with a 
custom "editor" as in the tests (I have done so in the past).  They would 
be affected.

Ciao,
Dscho
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help