4 From: Bram Moolenaar <Bram@moolenaar.net>
6 Content-Type: text/plain; charset=ISO-8859-1
7 Content-Transfer-Encoding: 8bit
11 Problem: Can't add a patch name to the ":version" output.
12 Solution: Add the extra_patches array.
16 *** ../vim-7.2.057/src/version.c Sat Nov 29 20:18:44 2008
17 --- src/version.c Sun Nov 30 12:12:31 2008
25 + * Place to put a short description when adding a feature with a patch.
26 + * Keep it short, e.g.,: "relative numbers", "persistent undo".
27 + * Also add a comment marker to separate the lines.
28 + * See the official Vim patches for the diff format: It must use a context of
29 + * one line only. Use "diff -C2".
31 + static char *(extra_patches[]) =
32 + { /* Add your patch description below this line */
46 + /* Print the list of extra patch descriptions if there is at least one. */
47 + if (extra_patches[0] != NULL)
49 + MSG_PUTS(_("\nExtra patches: "));
51 + for (i = 0; extra_patches[i] != NULL; ++i)
55 + MSG_PUTS(extra_patches[i]);
61 MSG_PUTS(_("Modified by "));
62 *** ../vim-7.2.057/src/version.c Sat Nov 29 20:18:44 2008
63 --- src/version.c Sun Nov 30 12:12:31 2008
67 { /* Add new patch number below this line */
73 ARTHUR: Well, it doesn't matter. Will you go and tell your master that
74 Arthur from the Court of Camelot is here.
75 GUARD #1: Listen, in order to maintain air-speed velocity, a swallow
76 needs to beat its wings 43 times every second, right?
78 The Quest for the Holy Grail (Monty Python)
80 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
81 /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
82 \\\ download, build and distribute -- http://www.A-A-P.org ///
83 \\\ help me help AIDS victims -- http://ICCF-Holland.org ///