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 <git@cryptocrack.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Lukas Fleischer committed
Mar 8, 2013 at 19:01 UTC
a02ffe0e1a19c9594af3e81f4e04b46eabe4755a
1 file changed
+4
-4
bundle.c
+4
-4
@@ -183,8 +183,8 @@ int verify_bundle(struct bundle_header *header, int verbose)
183
struct ref_list *r;
184
185
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:",
188
r->nr),
189
r->nr);
190
list_refs(r, 0, NULL);
@@ -192,8 +192,8 @@ int verify_bundle(struct bundle_header *header, int verbose)
192
if (!r->nr) {
193
printf_ln(_("The bundle records a complete history."));
194
} 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:",
197
r->nr),
198
r->nr);
199
list_refs(r, 0, NULL);