Merge branch 'sg/setup-doc-update'
authorJunio C Hamano <gitster@pobox.com>
Tue, 19 Dec 2017 19:33:58 +0000 (11:33 -0800)
committerJunio C Hamano <gitster@pobox.com>
Tue, 19 Dec 2017 19:33:58 +0000 (11:33 -0800)
Comment update.

* sg/setup-doc-update:
  setup.c: fix comment about order of .git directory discovery

setup.c

diff --git a/setup.c b/setup.c
index 50c6b2a..8cc3418 100644 (file)
--- a/setup.c
+++ b/setup.c
@@ -926,7 +926,7 @@ static enum discovery_result setup_git_directory_gently_1(struct strbuf *dir,
         * - ../.git
         * - ../.git/
         * - ../ (bare)
-        * - ../../.git/
+        * - ../../.git
         *   etc.
         */
        one_filesystem = !git_env_bool("GIT_DISCOVERY_ACROSS_FILESYSTEM", 0);