Re: Git push failure in the case of SSH to localhost
On Wed, Feb 11, 2009 at 8:44 PM, Jeff King <peff@peff.net> wrote:
Show 10 quoted lines
> On Wed, Feb 11, 2009 at 08:42:25PM +0200, Ciprian Dorin, Craciun wrote:
>
>> For now I see that the problem comes from the function
>> setup_git_directory_gentry which I call inside the setup_path function
>> in exec_cmd.c
>
> I think you probably end up calling setup_git_directory_gently twice,
> which is known to have weird interactions.
>
> -Peff
Indeed it gets called twice...
Here is what I'm trying to accomplish: I want to add to the git
search path also the folder ${GIT_DIR}/bin if this already exists...
(This allows me to have repository specific commands...) So in order to obtain GIT_DIR (get_git_dir function), I have to
call setup_git_directory_gently...
Is there another way to obtain the right GIT_DIR?
Ciprian.