Skip to content

Commit

Permalink
Merge branch 'lf/bundle-verify-list-prereqs'
Browse files Browse the repository at this point in the history
* lf/bundle-verify-list-prereqs:
  bundle: Add colons to list headings in "verify"
  bundle: Fix "verify" output if history is complete
  • Loading branch information
gitster committed Mar 19, 2013
2 parents c278e6f + a02ffe0 commit a6da9cb
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 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 {
r = &header->prerequisites;
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 a6da9cb

Please sign in to comment.