{"thread":{"id":"6240","subject":"[PATCH] Describe git-clone's actual behavior in the summary","startedAt":"2007-01-06T01:52:20Z","lastAt":"2007-01-06T01:52:20Z","messageCount":1,"participants":["Steven Grimm"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"30950","messageId":"459F00D4.3040203@midwinter.com","threadId":"6240","inReplyTo":null,"subject":"[PATCH] Describe git-clone's actual behavior in the summary","fromName":"Steven Grimm","fromEmail":"koreth@midwinter.com","sentAt":"2007-01-06T01:52:20Z","receivedAt":"2007-01-06T01:52:20Z","isPatch":true,"sender":{"key":"koreth@midwinter.com","avatar":"https://gravatar.com/avatar/71b4d2e8b62f168bdc9e9205341159e3567003b4f9e2127c617c5fa0a1f5bad2?d=mp&s=160"},"body":"If a branch other than \"master\" is checked out in the origin repository,\ngit-clone makes a local copy of that branch rather than the origin's \n\"master\"\nbranch. This patch describes the actual behavior.\n\nSigned-off-by: Steven Grimm <koreth@midwinter.com>\n---\n Documentation/git-clone.txt |    6 +++---\n 1 files changed, 3 insertions(+), 3 deletions(-)\n\ndiff --git a/Documentation/git-clone.txt b/Documentation/git-clone.txt\nindex e7085fd..a782074 100644\n--- a/Documentation/git-clone.txt\n+++ b/Documentation/git-clone.txt\n@@ -18,13 +18,13 @@ DESCRIPTION\n \n Clones a repository into a newly created directory, creates\n remote-tracking branches for each branch in the cloned repository\n-(visible using `git branch -r`), and creates and checks out a master\n-branch equal to the cloned repository's master branch.\n+(visible using `git branch -r`), and creates and checks out an initial\n+branch equal to the cloned repository's currently active branch.\n \n After the clone, a plain `git fetch` without arguments will update\n all the remote-tracking branches, and a `git pull` without\n arguments will in addition merge the remote master branch into the\n-current branch.\n+current master branch, if any.\n \n This default configuration is achieved by creating references to\n the remote branch heads under `$GIT_DIR/refs/remotes/origin` and\n-- \n1.5.0.rc0.g244a7\n"}]}