git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] bash: update 'git commit' completion

From
Shawn O. Pearce <spearce@spearce.org>
Date
Dec 5, 2009, 21:17 UTC
Message-ID
<20091205211703.GC5610@spearce.org>
In-Reply-To
<1259974301-11593-1-git-send-email-szeder@ira.uka.de>
SZEDER G??bor <szeder@ira.uka.de> wrote:
Show 12 quoted lines
> I just wanted to add the recently learnt '--reset-author' option, but
> then noticed that there are many more options missing.  This patch
> adds support for all of 'git commit's options, except '--allow-empty',
> because it is primarily there for foreign scm interfaces.
> 
> Furthermore, this patch also adds support for completing the arguments
> of those options that take a non-filename argument: valid modes are
> offered for '--cleanup' and '--untracked-files', while refs for
> '--reuse-message' and '--reedit-message', because these two take a
> commit as argument.
> 
> Signed-off-by: SZEDER G??bor <szeder@ira.uka.de>
Acked-by: Shawn O. Pearce <spearce@spearce.org>
>  contrib/completion/git-completion.bash |   22 +++++++++++++++++++++-
>  1 files changed, 21 insertions(+), 1 deletions(-)
-- 
Shawn.
Previous: SZEDER Gábor
Message 2 of 2 in “bash: update 'git commit' completion”
  1. bash: update 'git commit' completionSZEDER Gábor, Dec 5, 2009
  2. Shawn O. PearceDec 5, 2009

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.