From: Nguyễn Thái Ngọc Duy Date: Fri, 13 Jan 2012 07:21:52 GMT Subject: [PATCH v4 00/10] nd/clone-detached Message-ID: <1326439322-15648-1-git-send-email-pclouds@gmail.com> In-Reply-To: <1326189427-20800-1-git-send-email-pclouds@gmail.com> Some comment updates after discussion and squash in the fixup patch. The code is exactly the same as nd/clone-detached in pu. Nguyễn Thái Ngọc Duy (10): t5601: add missing && cascade clone: write detached HEAD in bare repositories clone: factor out checkout code clone: factor out HEAD update code clone: factor out remote ref writing clone: delay cloning until after remote HEAD checking clone: --branch= always means refs/heads/ clone: refuse to clone if --branch points to bogus ref clone: allow --branch to take a tag clone: print advice on checking out detached HEAD Documentation/git-clone.txt | 5 +- advice.c | 14 +++ advice.h | 1 + builtin/checkout.c | 16 +--- builtin/clone.c | 256 +++++++++++++++++++++++++------------------ t/t5601-clone.sh | 40 ++++++- t/t5706-clone-branch.sh | 8 +- transport.c | 5 +- 8 files changed, 211 insertions(+), 134 deletions(-) -- 1.7.3.1.256.g2539c.dirty