Thread (1 message) 1 message, 1 author, 2016-06-15

Re: [PATCH 6/8] sh-setup: make die_with_status clear GIT_REFLOG_ACTION

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:57:48

Ramkumar Ramachandra [off-list ref] writes:
Please excuse my stupidity and drop this patch.  
Heh, we always have brain-fart every once in a while.  Your
stupidity is always gladly excused ;-)
I got mislead by your SQUASH??? patch which took care to set the
environment variable and call checkout in a subshell.
To some, we could have done

	ENV_VAR="$ENV_VAR: some other string" command

but there were uses of "output" shell function in some instances,
and

	VAR=VAL shell_function

does not work, so that was the reason why

	(
        	VAR=VAL; export VAR
                shell_function
	)

form was used.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help