git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
From: Junio C Hamano <gitster@pobox.com>
To: Robert Schmidt-Cisternas <robert@schmidt-cisternas.net>
Cc: git@vger.kernel.org
Subject: Re: GIT_OBJECT_DIRECTORY ignored when cloning submodules
Date: Mon, 16 Sep 2019 11:03:27 -0700	[thread overview]
Message-ID: <xmqq8sqoazkg.fsf@gitster-ct.c.googlers.com> (raw)
In-Reply-To: <CAEq5TVWLxpc2a4fCch=DZfOgDWjKiu6gv0cfVHC3Wdy9581aSg@mail.gmail.com> (Robert Schmidt-Cisternas's message of "Sat, 14 Sep 2019 18:07:00 +0200")

Robert Schmidt-Cisternas <robert@schmidt-cisternas.net> writes:

> However, when cloning a repo with submodules, the variable is cleared

GIT_OBJECT_DIRECTORY applies to the source object store, not the
target object store---clearing is very much intentional, I think.

An operation like clone, fetch and push can involve two object
stores (iow, you can do them between two repositories on the same
machine using local transport), and allowing both sides to use the
same GIT_OBJECT_DIRECTORY would probably not make much sense.

      reply	other threads:[~2019-09-16 18:03 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-09-14 16:07 GIT_OBJECT_DIRECTORY ignored when cloning submodules Robert Schmidt-Cisternas
2019-09-16 18:03 ` Junio C Hamano [this message]

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

  List information: http://vger.kernel.org/majordomo-info.html

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

  git send-email \
    --in-reply-to=xmqq8sqoazkg.fsf@gitster-ct.c.googlers.com \
    --to=gitster@pobox.com \
    --cc=git@vger.kernel.org \
    --cc=robert@schmidt-cisternas.net \
    /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.
Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).