Skip to content

Commit a02ffe0

Browse files
Lukas Fleischergitster
authored andcommitted
bundle: Add colons to list headings in "verify"
These slightly improve the reading flow by making it obvious that a list follows. Also, make the wording of both headings consistent by changing "contains %d ref(s)" to "contains this ref"/"contains these %d refs". Signed-off-by: Lukas Fleischer <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 71ba6b1 commit a02ffe0

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

bundle.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -183,17 +183,17 @@ int verify_bundle(struct bundle_header *header, int verbose)
183183
struct ref_list *r;
184184

185185
r = &header->references;
186-
printf_ln(Q_("The bundle contains %d ref",
187-
"The bundle contains %d refs",
186+
printf_ln(Q_("The bundle contains this ref:",
187+
"The bundle contains these %d refs:",
188188
r->nr),
189189
r->nr);
190190
list_refs(r, 0, NULL);
191191
r = &header->prerequisites;
192192
if (!r->nr) {
193193
printf_ln(_("The bundle records a complete history."));
194194
} else {
195-
printf_ln(Q_("The bundle requires this ref",
196-
"The bundle requires these %d refs",
195+
printf_ln(Q_("The bundle requires this ref:",
196+
"The bundle requires these %d refs:",
197197
r->nr),
198198
r->nr);
199199
list_refs(r, 0, NULL);

0 commit comments

Comments
 (0)