git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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
Previous: Ciprian Dorin, CraciunNext: Ciprian Dorin, Craciun
Message 10 of 17 in “Git push failure in the case of SSH to localhost”
  1. Ciprian Dorin, CraciunFeb 11, 2009
  2. Jeff KingFeb 11, 2009
  3. Ciprian Dorin, CraciunFeb 11, 2009
  4. Jeff KingFeb 11, 2009
  5. Ciprian Dorin, CraciunFeb 11, 2009
  6. Shawn O. PearceFeb 11, 2009
  7. Ciprian Dorin, CraciunFeb 11, 2009
  8. Jeff KingFeb 11, 2009
  9. Ciprian Dorin, CraciunFeb 11, 2009
  10. Jeff KingFeb 11, 2009
  11. Ciprian Dorin, CraciunFeb 11, 2009
  12. Junio C HamanoFeb 11, 2009
  13. Ciprian Dorin, CraciunFeb 11, 2009
  14. Johannes SchindelinFeb 11, 2009
  15. Junio C HamanoFeb 11, 2009
  16. Ciprian Dorin, CraciunFeb 11, 2009
  17. Junio C HamanoFeb 11, 2009

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.