{"thread":{"id":"2003","subject":"[PATCH] Update git-clone documentation","startedAt":"2005-10-02T19:42:57Z","lastAt":"2005-10-02T22:54:43Z","messageCount":2,"participants":["Eric W. Biederman","Junio C Hamano"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"9615","messageId":"m1wtkv903i.fsf@ebiederm.dsl.xmission.com","threadId":"2003","inReplyTo":null,"subject":"[PATCH] Update git-clone documentation","fromName":"Eric W. Biederman","fromEmail":"ebiederm@xmission.com","sentAt":"2005-10-02T19:42:57Z","receivedAt":"2005-10-02T19:42:57Z","isPatch":true,"sender":{"key":"ebiederm@xmission.com","avatar":"https://avatars.githubusercontent.com/u/7477136?v=4"},"body":"\nThe documentation for git-clone is behind the actual command.\nI have been getting tired of reading the shell script to see\nwhat the arguments are so here is an update of the actual documentation.\n\nSigned-off-by: Eric Biederman <ebiederman@xmission.com>\n\n git-clone.txt |   15 ++++++++++++++-\n 1 files changed, 14 insertions(+), 1 deletion(-)\n\ndiff --git a/Documentation/git-clone.txt b/Documentation/git-clone.txt\n--- a/Documentation/git-clone.txt\n+++ b/Documentation/git-clone.txt\n@@ -9,7 +9,7 @@ git-clone - Clones a repository.\n \n SYNOPSIS\n --------\n-'git clone' [-l] [-u <upload-pack>] [-q] <repository> <directory>\n+'git clone' [-l [-s]] [-q] [-n] [-u <upload-pack>] <repository> <directory>\n \n DESCRIPTION\n -----------\n@@ -17,6 +17,7 @@ Clones a repository into a newly created\n \n OPTIONS\n -------\n+--local::\n -l::\n \tWhen the repository to clone from is on a local machine,\n \tthis flag bypasses normal \"git aware\" transport\n@@ -25,10 +26,22 @@ OPTIONS\n \tThe files under .git/objects/ directory are hardlinked\n \tto save space when possible.\n \n+--shared::\n+-s::\n+\tWhen the repository to clone is on the local machine,\n+\tinstead of using hard links automatically setup\n+\t.git/objects/info/alternatives to share the objects\n+\twith the source repository\n+\n+--quiet::\n -q::\n \tOperate quietly.  This flag is passed to \"rsync\" and\n \t\"git-clone-pack\" commands when given.\n \n+-n::\n+\tNo checkout of HEAD is performed after the clone is complete.\n+\n+--upload-pack <upload-pack>::\n -u <upload-pack>::\n \tWhen given, and the repository to clone from is handled\n \tby 'git-clone-pack', '--exec=<upload-pack>' is passed to\n"},{"id":"9617","messageId":"7virwfzg0c.fsf@assigned-by-dhcp.cox.net","threadId":"2003","inReplyTo":"m1wtkv903i.fsf@ebiederm.dsl.xmission.com","subject":"Re: [PATCH] Update git-clone documentation","fromName":"Junio C Hamano","fromEmail":"junkio@cox.net","sentAt":"2005-10-02T22:54:43Z","receivedAt":"2005-10-02T22:54:43Z","isPatch":true,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"Thanks.\n"}]}