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
Ciprian Dorin, Craciun <ciprian.craciun@gmail.com>
Date
Feb 11, 2009, 19:03 UTC
Message-ID
<8e04b5820902111103n69cde3e1le5781fb1818b622c@mail.gmail.com>
In-Reply-To
<20090211184429.GA27896@coredump.intra.peff.net>
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.
Previous: Jeff KingNext: Shawn O. Pearce
Message 5 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.