author | Sverre Rabbelier <srabbelier@gmail.com> | |
Mon, 29 Mar 2010 16:48:26 +0000 (11:48 -0500) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Wed, 31 Mar 2010 16:37:26 +0000 (09:37 -0700) | ||
commit | 88f3b2b0a21f712d14b0b7a7fda30f578027424a | |
tree | 16ac36f21738bf336f0ece16dd0efd6bfe2394ca | tree | snapshot |
parent | 580d5f83e71f7f9e61cdb181e21c10b09c81f6e5 | commit | diff |
remote-helpers: allow requesing the path to the .git directory
The 'gitdir' capability is reported by the remote helper if it
requires the location of the .git directory. The location of the .git
directory can then be used by the helper to store status files even
when the current directory is not a git repository (such as is the
case when cloning).
The location of the .git dir is specified as an absolute path.
Signed-off-by: Sverre Rabbelier <srabbelier@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
The 'gitdir' capability is reported by the remote helper if it
requires the location of the .git directory. The location of the .git
directory can then be used by the helper to store status files even
when the current directory is not a git repository (such as is the
case when cloning).
The location of the .git dir is specified as an absolute path.
Signed-off-by: Sverre Rabbelier <srabbelier@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
transport-helper.c | diff | blob | history |