From: Bram Moolenaar Date: Sun, 30 Nov 2008 11:15:09 +0000 (+0000) Subject: updated for version 7.2-058 X-Git-Tag: v7.2.058 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=10d4cecefd9360895feed1254602a1f16950bd25;p=vim updated for version 7.2-058 --- diff --git a/src/version.c b/src/version.c index 7929ff0a4..456a478a3 100644 --- a/src/version.c +++ b/src/version.c @@ -676,6 +676,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 58, /**/ 57, /**/ @@ -794,6 +796,19 @@ static int included_patches[] = 0 }; +/* + * Place to put a short description when adding a feature with a patch. + * Keep it short, e.g.,: "relative numbers", "persistent undo". + * Also add a comment marker to separate the lines. + * See the official Vim patches for the diff format: It must use a context of + * one line only. Use "diff -C2". + */ +static char *(extra_patches[]) = +{ /* Add your patch description below this line */ +/**/ + NULL +}; + int highest_patch() { @@ -939,6 +954,19 @@ list_version() } } + /* Print the list of extra patch descriptions if there is at least one. */ + if (extra_patches[0] != NULL) + { + MSG_PUTS(_("\nExtra patches: ")); + s = ""; + for (i = 0; extra_patches[i] != NULL; ++i) + { + MSG_PUTS(s); + s = ", "; + MSG_PUTS(extra_patches[i]); + } + } + #ifdef MODIFIED_BY MSG_PUTS("\n"); MSG_PUTS(_("Modified by "));