Thread (7 messages) flat view 7 messages, 4 authors, 2016-06-15

Re: [PATCH] Trivial fix: Make all the builtin usage strings to use the same pattern.

From: Thiago Farina <hidden>
Date: 2016-06-15 22:47:26

On Sun, Sep 20, 2009 at 11:35 AM, Johannes Gilger [off-list ref] wrote:
On 20/09/09 09:17, Thiago Farina wrote:
quoted
They follow the pattern of file name:
File name pattern: builtin-command-name.c
Usage string pattern: builtin_command_name_usage
[...]
-static char const * const archive_usage[] = {
+static const char * const archive_usage[] = {
      "git archive [options] <tree-ish> [path...]",
      "git archive --list",
      "git archive --remote <repo> [--exec <cmd>] [options] <tree-ish> [path...]",
Looks like you missed a spot ;)
The change here is about 'char const *' to 'const char *', to match
with the definition in api-parse-options.txt. :)
Is there a reason for archive do not has a builtin- in it file name?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help