Re: [PATCH 4/7] Documentation: git-init: --separate-git-dir: clarify
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Aug 5, 2014, 22:12 UTC
- Message-ID
- <xmqqiom6oabe.fsf@gitster.dls.corp.google.com>
- In-Reply-To
- <1407002817-29221-5-git-send-email-linusarver@gmail.com>
Linus Arver <linusarver@gmail.com> writes:
> Signed-off-by: Linus Arver <linusarver@gmail.com> > ---
You would need to work on your justification skills ;-) in the log message. What does this change "clarify" and in what way?
Show 25 quoted lines
> Documentation/git-init.txt | 12 ++++++------ > 1 file changed, 6 insertions(+), 6 deletions(-) > > diff --git a/Documentation/git-init.txt b/Documentation/git-init.txt > index f21b85b..bf0a7ae 100644 > --- a/Documentation/git-init.txt > +++ b/Documentation/git-init.txt > @@ -57,12 +57,12 @@ DIRECTORY" section below.) > > --separate-git-dir=<git dir>:: > > -Instead of initializing the repository where it is supposed to be, > -place a filesytem-agnostic Git symbolic link there, pointing to the > -specified path, and initialize a Git repository at the path. The > -result is Git repository can be separated from working tree. If this > -is reinitialization, the repository will be moved to the specified > -path. > +Separate the Git repository from your working tree. Instead of initializing the > +repository as a directory to either `$GIT_DIR` or `./.git/`, create a text file > +there containing the path to the actual repository. This file acts as > +filesystem-agnostic Git symbolic link to the repository. > ++ > +If this is reinitialization, the repository will be moved to the specified path. > > --shared[=(false|true|umask|group|all|world|everybody|0xxx)]::