Re: [PATCH] Submodules always use a relative path to gitdir
- From
Phil Hord <phil.hord@gmail.com>
- Date
- Dec 31, 2011, 20:31 UTC
- Message-ID
- <CABURp0oVWwNcYjzPoMvXrDKtDnpeLGXQhdxGnsARmBt9ZbUcHg@mail.gmail.com>
- In-Reply-To
- <1325192426-10103-1-git-send-email-antony.male@gmail.com>
On Thu, Dec 29, 2011 at 4:00 PM, Antony Male <antony.male@gmail.com> wrote:
> This fixes a problem where moving a git repository with checked-out > submodules would cause a fatal error when commands such as 'git > submodule update' were run.
Thanks. I noticed this itch when looking at git-files a few months ago. It bothered me, but not enough to fix it; just enough to note it as a problem area to avoid in the future.
> An alternative patch would teach git-clone an option to control whether > an absolute or relative path is used when --separate-git-dir is passed.
I think I like this option better. Did you look at what it would take?
Phil