Re: git clone does not work with GIT_OBJECT_DIRECTORY set

2 messages, 2 authors, 2016-06-15 · open the first message on its own page

Re: git clone does not work with GIT_OBJECT_DIRECTORY set

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:42:21

Benjamin LaHaise [off-list ref] writes:
And another bug (linux-2.6.git was created with a clone of git://.../ 
while GIT_OBJECT_DIRECTORY was set):

$ git clone linux-2.6.git bootcache.git
fatal: '/home/bcrl/linux-2.6.git/.git': unable to chdir or not a git archive
fatal: unexpected EOF
clone-pack from '/home/bcrl/linux-2.6.git/.git' failed.
$ 
Please try it without GIT_OBJECT_DIRECTORY and see it works
correctly (I think it should).  If that is the case, maybe
git-clone should explicitly unset GIT_OBJECT_DIRECTORY.

Re: git clone does not work with GIT_OBJECT_DIRECTORY set

From: Benjamin LaHaise <bcrl@kvack.org>
Date: 2016-06-15 22:42:21

On Sun, Mar 05, 2006 at 05:33:25PM -0800, Junio C Hamano wrote:
Please try it without GIT_OBJECT_DIRECTORY and see it works
correctly (I think it should).  If that is the case, maybe
git-clone should explicitly unset GIT_OBJECT_DIRECTORY.
Nope.  There is no .git/objects directory, so how would it be able to 
find the objects?

		-ben
-- 
"Time is of no importance, Mr. President, only life is important."
Don't Email: [off-list ref].
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help