Hi! On Wed, Jul 13, 2011 at 11:36 PM, Sverre Rabbelier <srabbelier@xxxxxxxxx> wrote: > Heya, > > On Wed, Jul 13, 2011 at 19:10, Dmitry Ivankov <divanorama@xxxxxxxxx> wrote: >> Instead of documenting capability gitdir export GIT_DIR. Turned out >> to be quite straightforward. > > But you _also_ documented the gitdir capability? I'm confused. Oww, it was a bad idea to amend previous commit in a hurry and not to read the whole diff after. Of course Documentation/git-remote-helpers.txt should have only a GIT_DIR hunk: diff --git a/Documentation/git-remote-helpers.txt b/Documentation/git-remote-helpers.txt index 58f6ad4..feda03e 100644 --- a/Documentation/git-remote-helpers.txt +++ b/Documentation/git-remote-helpers.txt @@ -47,6 +47,9 @@ arguments. The first argument specifies a remote repository as in git; it is either the name of a configured remote or a URL. The second argument specifies a URL; it is usually of the form '<transport>://<address>', but any arbitrary string is possible. +'GIT_DIR' environment variable is set up for the remote helper and +can be used to store some additional data or to invoke auxiliary git +commands. When git encounters a URL of the form '<transport>://<address>', where '<transport>' is a protocol that it cannot handle natively, it > > -- > Cheers, > > Sverre Rabbelier > -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html