Thread (1 message) 1 message, 1 author, 2021-10-18

Re: [PATCH 1/2] send-pack: complain about "expecting report" with --helper-status

From: Junio C Hamano <hidden>
Date: 2021-10-18 20:26:28

Jeff King [off-list ref] writes:
quoted hunk
diff --git a/builtin/send-pack.c b/builtin/send-pack.c
index 8932142312..69c432ef1a 100644
--- a/builtin/send-pack.c
+++ b/builtin/send-pack.c
@@ -87,6 +87,10 @@ static void print_helper_status(struct ref *ref)
 			break;
 
 		case REF_STATUS_EXPECTING_REPORT:
+			res = "error";
+			msg = "expecting report";
+			break;
+
 		default:
 			continue;
 		}
That is obviously correct, minimum and surprisingly simple ;-)

Thanks.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help