diff options
| author | Junio C Hamano <gitster@pobox.com> | 2019-03-07 09:59:57 +0900 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2019-03-07 09:59:58 +0900 |
| commit | b0e7fb2e5cc70a03d75e41fe6b1bde6fdc0872c8 (patch) | |
| tree | d07202c20257da961faf1f9a2d4852371c0289ca /builtin/replace.c | |
| parent | 4751a1673c7d4aeb1b6462f89fa7d86c05898d05 (diff) | |
| parent | 5a59a2301f6ec9bcf1b101edb9ca33beb465842f (diff) | |
| download | git-b0e7fb2e5cc70a03d75e41fe6b1bde6fdc0872c8.tar.gz | |
Merge branch 'nd/completion-more-parameters'
The command line completion (in contrib/) has been taught to
complete more subcommand parameters.
* nd/completion-more-parameters:
completion: add more parameter value completion
Diffstat (limited to 'builtin/replace.c')
| -rw-r--r-- | builtin/replace.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/builtin/replace.c b/builtin/replace.c index 5b80b7f211..f5701629a8 100644 --- a/builtin/replace.c +++ b/builtin/replace.c @@ -82,6 +82,10 @@ static int list_replace_refs(const char *pattern, const char *format) data.format = REPLACE_FORMAT_MEDIUM; else if (!strcmp(format, "long")) data.format = REPLACE_FORMAT_LONG; + /* + * Please update _git_replace() in git-completion.bash when + * you add new format + */ else return error(_("invalid replace format '%s'\n" "valid formats are 'short', 'medium' and 'long'"), |
