Thread (61 messages) 61 messages, 3 authors, 2017-09-15
STALE3302d

[RFC/PATCH v4 42/49] odb-helper: advertise 'have' capability

From: Christian Couder <hidden>
Date: 2017-06-20 07:57:18
Subsystem: the rest · Maintainer: Linus Torvalds

Signed-off-by: Christian Couder <redacted>
---
 odb-helper.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/odb-helper.c b/odb-helper.c
index e21113c0b8..2cd1f25e83 100644
--- a/odb-helper.c
+++ b/odb-helper.c
@@ -67,7 +67,7 @@ static int start_read_object_fn(struct subprocess_entry *subprocess)
 	if (err)
 		goto done;
 
-	err = packet_writel(process->in, "capability=get", NULL);
+	err = packet_writel(process->in, "capability=get", "capability=have", NULL);
 	if (err)
 		goto done;
 
-- 
2.13.1.565.gbfcd7a9048
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help