Re: [PATCH 3/3] doc/remote-helpers: document the gitdir feature
- From
Sverre Rabbelier <srabbelier@gmail.com>
- Date
- Jul 13, 2011, 12:04 UTC
- Message-ID
- <CAGdFq_igyPMfhhKb-3v5Vnob-DQ9GLR0ONLEc+xjgTwZ1R1sRg@mail.gmail.com>
- In-Reply-To
- <1310483428-29833-4-git-send-email-divanorama@gmail.com>
Heya,
On Tue, Jul 12, 2011 at 17:10, Dmitry Ivankov <divanorama@gmail.com> wrote:
Show 8 quoted lines
> The gitdir capability is recognized by git and can be used to tell > the helper where the .git directory is. But it is not mentioned in > the documentation. > > Document the gitdir feature. Upon reading this capability > transport-helper sends out "gitdir path_to_dot_git" command to the > helper. Which looks exactly like sending a command. So let's call > this a command.
Johannes suggested that we should remove this feature and instead always export an GITDIR environmental variable. I'm inclined to agree.
-- Cheers, Sverre Rabbelier