git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH] clone: caveat note on converting partial clone

From
Bagas Sanjaya <bagasdotme@gmail.com>
Date
May 29, 2021, 12:07 UTC
Message-ID
<20210529120730.38472-1-bagasdotme@gmail.com>

Currently partial clones can't be converted into full clones, because there is an issue where the remote can't send all missing objects required.

Signed-off-by: Bagas Sanjaya <bagasdotme@gmail.com>
---
 This patch is based on "clone: document partial clone section" by Teng
 Long [1].
 [1]:
https://lore.kernel.org/git/pull.745.v5.git.git.1614695133486.gitgitgadget@gmail.com/
 Documentation/git-clone.txt | 9 +++++++++
 1 file changed, 9 insertions(+)
diff --git a/Documentation/git-clone.txt b/Documentation/git-clone.txt
index 15495675a8..551d8fd141 100644
--- a/Documentation/git-clone.txt
+++ b/Documentation/git-clone.txt
@@ -377,6 +377,10 @@ only reading commits. `git log -p -- <path>` will download blobs to
 generate the patch output and git log --raw will download all blobs
 that changed at recent commits in order to compute renames.
 
+It is currently not possible to convert partial clones into full clones,
+because there is an issue where the remote can't send all missing
+objects required. See discussion at [1].
+
 :git-clone: 1
 include::urls.txt[]
 
@@ -417,6 +421,11 @@ $ cd my-linux
 $ git clone --bare -l /home/proj/.git /pub/scm/proj.git
 ------------
 
+FOOTNOTES
+---------
+
+[1]: https://lore.kernel.org/git/6422f505-29c4-bee9-e28c-b77dd831c246@gmail.com/T/#u
+
 
 GIT
 ---
-- 
2.25.1
Next: Jeff King
Message 1 of 3 in “clone: caveat note on converting partial clone”
  1. clone: caveat note on converting partial cloneBagas Sanjaya, May 29, 2021
  2. Jeff KingMay 30, 2021
  3. Derrick StoleeJun 1, 2021

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.