Thread (3 messages) flat view 3 messages, 3 authors, 2016-06-15

Re: [PATCH 3/3] Replace setenv(GIT_DIR_ENVIRONMENT, ...) with set_git_dir()

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:43:53

Johannes Schindelin [off-list ref] writes:
Hi,

On Wed, 21 Nov 2007, Steffen Prohaska wrote:
quoted
We have a function set_git_dir().  So let's use it, instead of setting 
the evironment directly.
Does this not have a fundamental issue?  When you call other git programs 
with run_command(), you _need_ GIT_DIR to be set, no?
It is much worse.  set_git_dir() does not just setenv() but does
setup_git_env() as well.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help