git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jeff King <peff@peff.net>
To: "Ciprian Dorin, Craciun" <ciprian.craciun@gmail.com>
Cc: "Shawn O. Pearce" <spearce@spearce.org>, git@vger.kernel.org
Subject: Re: Git push failure in the case of SSH to localhost
Date: Wed, 11 Feb 2009 14:42:18 -0500	[thread overview]
Message-ID: <20090211194218.GA28927@coredump.intra.peff.net> (raw)
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

  reply	other threads:[~2009-02-11 19:43 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-11 16:24 Git push failure in the case of SSH to localhost Ciprian Dorin, Craciun
2009-02-11 18:05 ` Jeff King
2009-02-11 18:42   ` Ciprian Dorin, Craciun
2009-02-11 18:44     ` Jeff King
2009-02-11 19:03       ` Ciprian Dorin, Craciun
2009-02-11 19:14         ` Shawn O. Pearce
2009-02-11 19:20           ` Ciprian Dorin, Craciun
2009-02-11 19:22             ` Jeff King
2009-02-11 19:32               ` Ciprian Dorin, Craciun
2009-02-11 19:42                 ` Jeff King [this message]
2009-02-11 20:03                   ` Ciprian Dorin, Craciun
2009-02-11 20:23                     ` Junio C Hamano
2009-02-11 20:49                       ` Ciprian Dorin, Craciun
2009-02-11 21:03                         ` Johannes Schindelin
2009-02-11 19:27             ` Junio C Hamano
2009-02-11 19:34               ` Ciprian Dorin, Craciun
2009-02-11 19:40                 ` Junio C Hamano

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20090211194218.GA28927@coredump.intra.peff.net \
    --to=peff@peff.net \
    --cc=ciprian.craciun@gmail.com \
    --cc=git@vger.kernel.org \
    --cc=spearce@spearce.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).