Thread (31 messages) flat view 31 messages, 4 authors, 2016-06-15

Re: [PATCH 07/16] upload-pack: support subtree pack

From: Elijah Newren <hidden>
Date: 2016-06-15 22:49:14

2010/7/31 Nguyễn Thái Ngọc Duy [off-list ref]:
<snip>
quoted hunk ↗ jump to hunk
diff --git a/upload-pack.c b/upload-pack.c
index e432e83..9b6710a 100644
--- a/upload-pack.c
+++ b/upload-pack.c
<snip>
quoted hunk ↗ jump to hunk
@@ -505,6 +505,20 @@ static void receive_needs(void)
               if (debug_fd)
                       write_in_full(debug_fd, line, len);

+               if (!prefixcmp(line, "subtree ")) {
+                       int len;
+                       char *subtree;
+                       if (core_subtree)
+                               die("sorry, only one subtree supported");
I'm not sure users would understand this error message; perhaps
something more like "Fetching/cloning from a subtree-sparse repository
not supported"?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help