From: Matt Draisey <matt@draisey.ca>
To: git@vger.kernel.org
Subject: local git push bug wrt GIT_OBJECT_DIRECTORY
Date: Fri, 30 Dec 2005 01:08:20 -0500 [thread overview]
Message-ID: <1135922900.2103.37.camel@della.draisey.ca> (raw)
Using git-send-pack to push to a local repository will propagate the
environment variable GIT_OBJECT_DIRECTORY to git-receive-pack.
git-receive-pack correctly ignores GIT_DIR (as opposed to what the
documentation says) but, unfortunately, honours GIT_OBJECT_DIRECTORY.
It's not clear to me whether the correct behaviour is for git-send-pack
to clean up its environment before it execs or for git-receive-pack to
ignore most GIT variables.
Interposing a short script with env -i or env -uGIT_OBJECT_DIRECTORY is
the easiest workaround.
next reply other threads:[~2005-12-30 6:13 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-12-30 6:08 Matt Draisey [this message]
2006-01-06 22:36 ` local git push bug wrt GIT_OBJECT_DIRECTORY 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=1135922900.2103.37.camel@della.draisey.ca \
--to=matt@draisey.ca \
--cc=git@vger.kernel.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).