git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2] git.txt: add missing info about --git-dir command-line option
@ 2012-12-13 17:57 Manlio Perillo
  2012-12-13 18:54 ` Junio C Hamano
  0 siblings, 1 reply; 2+ messages in thread
From: Manlio Perillo @ 2012-12-13 17:57 UTC (permalink / raw)
  To: git; +Cc: Manlio Perillo

Unlike other environment variables (e.g. GIT_WORK_TREE,	GIT_NAMESPACE),
the Documentation/git.txt file did not mention that the GIT_DIR
environment variable can also be set using the --git-dir command line
option.

Signed-off-by: Manlio Perillo <manlio.perillo@gmail.com>
---
 Documentation/git.txt | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Documentation/git.txt b/Documentation/git.txt
index e643683..60db292 100644
--- a/Documentation/git.txt
+++ b/Documentation/git.txt
@@ -650,6 +650,7 @@ git so take care if using Cogito etc.
 	If the 'GIT_DIR' environment variable is set then it
 	specifies a path to use instead of the default `.git`
 	for the base of the repository.
+	The '--git-dir' command-line option also sets this value.
 
 'GIT_WORK_TREE'::
 	Set the path to the working tree.  The value will not be
-- 
1.8.1.rc1.19.g2021cc5.dirty

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH v2] git.txt: add missing info about --git-dir command-line option
  2012-12-13 17:57 [PATCH v2] git.txt: add missing info about --git-dir command-line option Manlio Perillo
@ 2012-12-13 18:54 ` Junio C Hamano
  0 siblings, 0 replies; 2+ messages in thread
From: Junio C Hamano @ 2012-12-13 18:54 UTC (permalink / raw)
  To: Manlio Perillo; +Cc: git

Thanks.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-12-13 18:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-12-13 17:57 [PATCH v2] git.txt: add missing info about --git-dir command-line option Manlio Perillo
2012-12-13 18:54 ` Junio C Hamano

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).