Skip to content

Commit

Permalink
bundle: Add colons to list headings in "verify"
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Lukas Fleischer authored and gitster committed Mar 8, 2013
1 parent 71ba6b1 commit a02ffe0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions bundle.c
Expand Up @@ -183,17 +183,17 @@ int verify_bundle(struct bundle_header *header, int verbose)
struct ref_list *r;

r = &header->references;
printf_ln(Q_("The bundle contains %d ref",
"The bundle contains %d refs",
printf_ln(Q_("The bundle contains this ref:",
"The bundle contains these %d refs:",
r->nr),
r->nr);
list_refs(r, 0, NULL);
r = &header->prerequisites;
if (!r->nr) {
printf_ln(_("The bundle records a complete history."));
} else {
printf_ln(Q_("The bundle requires this ref",
"The bundle requires these %d refs",
printf_ln(Q_("The bundle requires this ref:",
"The bundle requires these %d refs:",
r->nr),
r->nr);
list_refs(r, 0, NULL);
Expand Down

0 comments on commit a02ffe0

Please sign in to comment.