{"thread":{"id":"32332","subject":"[PATCH v2] git.txt: add missing info about --git-dir command-line option","startedAt":"2012-12-13T17:57:19Z","lastAt":"2012-12-13T18:54:06Z","messageCount":2,"participants":["Manlio Perillo","Junio C Hamano"],"isPatch":true,"patchVersion":2,"patchTotal":null},"messages":[{"id":"204839","messageId":"1355421439-14024-1-git-send-email-manlio.perillo@gmail.com","threadId":"32332","inReplyTo":null,"subject":"[PATCH v2] git.txt: add missing info about --git-dir command-line option","fromName":"Manlio Perillo","fromEmail":"manlio.perillo@gmail.com","sentAt":"2012-12-13T17:57:19Z","receivedAt":"2012-12-13T17:57:19Z","isPatch":true,"sender":{"key":"manlio.perillo@gmail.com","avatar":"https://avatars.githubusercontent.com/u/6217088?v=4"},"body":"Unlike other environment variables (e.g. GIT_WORK_TREE,\tGIT_NAMESPACE),\nthe Documentation/git.txt file did not mention that the GIT_DIR\nenvironment variable can also be set using the --git-dir command line\noption.\n\nSigned-off-by: Manlio Perillo <manlio.perillo@gmail.com>\n---\n Documentation/git.txt | 1 +\n 1 file changed, 1 insertion(+)\n\ndiff --git a/Documentation/git.txt b/Documentation/git.txt\nindex e643683..60db292 100644\n--- a/Documentation/git.txt\n+++ b/Documentation/git.txt\n@@ -650,6 +650,7 @@ git so take care if using Cogito etc.\n \tIf the 'GIT_DIR' environment variable is set then it\n \tspecifies a path to use instead of the default `.git`\n \tfor the base of the repository.\n+\tThe '--git-dir' command-line option also sets this value.\n \n 'GIT_WORK_TREE'::\n \tSet the path to the working tree.  The value will not be\n-- \n1.8.1.rc1.19.g2021cc5.dirty\n"},{"id":"204846","messageId":"7vy5h1ye9d.fsf@alter.siamese.dyndns.org","threadId":"32332","inReplyTo":"1355421439-14024-1-git-send-email-manlio.perillo@gmail.com","subject":"Re: [PATCH v2] git.txt: add missing info about --git-dir command-line option","fromName":"Junio C Hamano","fromEmail":"gitster@pobox.com","sentAt":"2012-12-13T18:54:06Z","receivedAt":"2012-12-13T18:54:06Z","isPatch":true,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"Thanks.\n"}]}