summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLukas Fleischer <git@cryptocrack.de>2013-03-08 18:01:26 (GMT)
committerJunio C Hamano <gitster@pobox.com>2013-03-08 18:06:53 (GMT)
commita02ffe0e1a19c9594af3e81f4e04b46eabe4755a (patch)
treef2d7ad0d7af6fdc9e37cc7d481c59fc73382c3e2
parent71ba6b10f81ac8afcb0ba376f6691afe1269467c (diff)
downloadgit-a02ffe0e1a19c9594af3e81f4e04b46eabe4755a.zip
git-a02ffe0e1a19c9594af3e81f4e04b46eabe4755a.tar.gz
git-a02ffe0e1a19c9594af3e81f4e04b46eabe4755a.tar.bz2
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>
-rw-r--r--bundle.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/bundle.c b/bundle.c
index 65db53b..6210a6b 100644
--- a/bundle.c
+++ b/bundle.c
@@ -183,8 +183,8 @@ 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);
@@ -192,8 +192,8 @@ int verify_bundle(struct bundle_header *header, int verbose)
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);