{"thread":{"id":"32323","subject":"[PATCH] Documentation/git: add missing info about --git-dir command-line option","startedAt":"2012-12-12T17:04:47Z","lastAt":"2012-12-14T17:26:27Z","messageCount":4,"participants":["Manlio Perillo","Junio C Hamano"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"204754","messageId":"50C8B92F.8020408@gmail.com","threadId":"32323","inReplyTo":null,"subject":"[PATCH] Documentation/git: add missing info about --git-dir command-line option","fromName":"Manlio Perillo","fromEmail":"manlio.perillo@gmail.com","sentAt":"2012-12-12T17:04:47Z","receivedAt":"2012-12-12T17:04:47Z","isPatch":true,"sender":{"key":"manlio.perillo@gmail.com","avatar":"https://avatars.githubusercontent.com/u/6217088?v=4"},"body":"The Documentation/git.txt file, in the GIT_DIR environment variable\nsection, did not mentioned that this value can also be set using the\n--git-dir command line option.\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  'GIT_WORK_TREE'::\n \tSet the path to the working tree.  The value will not be\n-- \n1.8.0.1.347.gf94c325.dirty\n"},{"id":"204775","messageId":"7vmwxj3vxx.fsf@alter.siamese.dyndns.org","threadId":"32323","inReplyTo":"50C8B92F.8020408@gmail.com","subject":"Re: [PATCH] Documentation/git: add missing info about --git-dir command-line option","fromName":"Junio C Hamano","fromEmail":"gitster@pobox.com","sentAt":"2012-12-12T19:35:38Z","receivedAt":"2012-12-12T19:35:38Z","isPatch":true,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"Manlio Perillo <manlio.perillo@gmail.com> writes:\n\n> The Documentation/git.txt file, in the GIT_DIR environment variable\n> section, did not mentioned that this value can also be set using the\n> --git-dir command line option.\n> ---\n\ns/mentioned/mention/; Also it may help to say\n\n\tUnlike other environment variables (e.g. GIT_WORK_TREE,\n\tGIT_NAMESPACE),\n\nsomewhere in the description.\n\nPlease sign-off your patch (see Documentation/SubmittingPatches).\n\nThanks.\n\n>  Documentation/git.txt | 1 +\n>  1 file changed, 1 insertion(+)\n>\n> diff --git a/Documentation/git.txt b/Documentation/git.txt\n> index 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>   'GIT_WORK_TREE'::\n>  \tSet the path to the working tree.  The value will not be\n"},{"id":"204840","messageId":"50CA17D6.2050700@gmail.com","threadId":"32323","inReplyTo":"7vmwxj3vxx.fsf@alter.siamese.dyndns.org","subject":"Re: [PATCH] Documentation/git: add missing info about --git-dir command-line option","fromName":"Manlio Perillo","fromEmail":"manlio.perillo@gmail.com","sentAt":"2012-12-13T18:00:54Z","receivedAt":"2012-12-13T18:00:54Z","isPatch":true,"sender":{"key":"manlio.perillo@gmail.com","avatar":"https://avatars.githubusercontent.com/u/6217088?v=4"},"body":"-----BEGIN PGP SIGNED MESSAGE-----\nHash: SHA1\n\nIl 12/12/2012 20:35, Junio C Hamano ha scritto:\n> Manlio Perillo <manlio.perillo@gmail.com> writes:\n> \n>> The Documentation/git.txt file, in the GIT_DIR environment variable\n>> section, did not mentioned that this value can also be set using the\n>> --git-dir command line option.\n>> ---\n> \n> s/mentioned/mention/; Also it may help to say\n> \n> \tUnlike other environment variables (e.g. GIT_WORK_TREE,\n> \tGIT_NAMESPACE),\n> \n> somewhere in the description.\n> \n> Please sign-off your patch (see Documentation/SubmittingPatches).\n> \n> Thanks.\n> \n\nThanks to you.\n\nI have sent the updated patch, let me know if is ok.\n\n\n\nManlio Perillo\n-----BEGIN PGP SIGNATURE-----\nVersion: GnuPG v1.4.10 (GNU/Linux)\nComment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/\n\niEYEARECAAYFAlDKF9YACgkQscQJ24LbaUQyHwCcDiaJjFZ5vwHzxjHyhEBCyFdd\nGnIAn34MjoWmQOcLKJEl/EpE0ImeQBLG\n=yrux\n-----END PGP SIGNATURE-----\n"},{"id":"204871","messageId":"50CB6143.4040505@gmail.com","threadId":"32323","inReplyTo":"7vmwxj3vxx.fsf@alter.siamese.dyndns.org","subject":"Re: [PATCH] Documentation/git: add missing info about --git-dir command-line option","fromName":"Manlio Perillo","fromEmail":"manlio.perillo@gmail.com","sentAt":"2012-12-14T17:26:27Z","receivedAt":"2012-12-14T17:26:27Z","isPatch":true,"sender":{"key":"manlio.perillo@gmail.com","avatar":"https://avatars.githubusercontent.com/u/6217088?v=4"},"body":"-----BEGIN PGP SIGNED MESSAGE-----\nHash: SHA1\n\nIl 12/12/2012 20:35, Junio C Hamano ha scritto:\n> Manlio Perillo <manlio.perillo@gmail.com> writes:\n> \n>> The Documentation/git.txt file, in the GIT_DIR environment variable\n>> section, did not mentioned that this value can also be set using the\n>> --git-dir command line option.\n>> ---\n> \n> s/mentioned/mention/; Also it may help to say\n> \n> \tUnlike other environment variables (e.g. GIT_WORK_TREE,\n> \tGIT_NAMESPACE),\n> \n\nI'm sorry, I just copied this text \"as is\" (I'm lazy) in the commit\nmessage failing to notice the use of the tab character.\n\nWhen I checked the patch email message, my editor rendered the tab\ncharacter as a single space...\n\n\nThat's the reason why I have all my editors configured to never ever use\ntabs.\n\n\nManlio Perillo\n-----BEGIN PGP SIGNATURE-----\nVersion: GnuPG v1.4.10 (GNU/Linux)\nComment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/\n\niEYEARECAAYFAlDLYUMACgkQscQJ24LbaUTUPACcDhufXkawZZPBV0p/af1GFu1D\n/BcAnjPARpeTi4EdyM/3wV0eI9U9Fu51\n=rSfl\n-----END PGP SIGNATURE-----\n"}]}