Re: Git push failure in the case of SSH to localhost
- From
Jeff King <peff@peff.net>
- Date
- Feb 11, 2009, 19:42 UTC
- Message-ID
- <20090211194218.GA28927@coredump.intra.peff.net>
- In-Reply-To
- <8e04b5820902111132v5b7c8e14s15c6fad13b5b76a9@mail.gmail.com>
On Wed, Feb 11, 2009 at 09:32:29PM +0200, Ciprian Dorin, Craciun wrote:
> Anyway, I don't see why it's wrong to have such a bin folder per > repository... Let's for a moment assume that there is a use case for > such a thing, I'm wondering what is wrong with this solution from a > Git perspective???
It's not _wrong_, we're just suggesting ways that the same thing might be accomplished more easily.
> P.S.: It seems that indeed setup_git_directory_gently (or > something in the setup system) is kind of broken if I call it twice...
Yes, I think your patch is running into a long-standing problem in the git initialization code. There are problems if you need to look into the repo dir to find out which command to execute, because finding the repo dir changes the environment. There is a similar problem with aliases.
So I think getting your patch to run correctly may be hard. But I admit I didn't look at it that closely.
-Peff