]> granicus.if.org Git - vim/commitdiff
updated for version 7.2-058 v7.2.058
authorBram Moolenaar <Bram@vim.org>
Sun, 30 Nov 2008 11:15:09 +0000 (11:15 +0000)
committerBram Moolenaar <Bram@vim.org>
Sun, 30 Nov 2008 11:15:09 +0000 (11:15 +0000)
src/version.c

index 7929ff0a4906e066fcd35ec56fc3ad4298fb4fb5..456a478a3ab2a7bf8e055b72d6c3a43c503eab98 100644 (file)
@@ -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 "));