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

Re: [PATCH] cg-completion: improve options and command listing

From
Jonas Fonseca <fonseca@diku.dk>
Date
Dec 18, 2005, 14:34 UTC
Message-ID
<20051218143439.GA7064@diku.dk>
In-Reply-To
<EF827EE8-7B7A-4D19-A08D-8C67D6B74195@hawaga.org.uk>
Ben Clifford <benc@hawaga.org.uk> wrote Sun, Dec 18, 2005:
Show 14 quoted lines
> 
> On 12 Dec 2005, at 04:39, Jonas Fonseca wrote:
> 
> >Complete help options and improve filtering for command name  
> >completion.
> >
> >Signed-off-by: Jonas Fonseca <fonseca@diku.dk>
> >
> 
> Hi. I've applied this patch to the dev branch cg-compl in my  
> gitcompletion repo.
> 
> I'm interested by what you mean by 'all sorts of garbage' - it seems  
> ok on my machine.
~/src/cogito/cogito > __cg_cmdlist | head
        cg-add             Add files to the GIT repository.
        cg-clean           Clean unknown files from the working tree.
        cg-clone           Clone a remote GIT repository.
        cg-commit          Commit into a GIT repository.
        cg-diff            Make a diff between two GIT trees.
        cg-export          Exports a particular revision from a GIT repository.
        cg-fetch           Fetch changes from a remote branch to the local GIT repository.
        cg-help            Show help for Cogito commands.
        cg-init            Initialize a GIT repository.
        cg-log             Make a log of changes in a GIT branch.

Else I was thinking of maybe adding --list parameter to cg-help to have it list all known commands.

-- 
Jonas Fonseca
Previous: Ben CliffordNext: Ben Clifford
Message 3 of 5 in “cg-completion: improve options and command listing”
  1. cg-completion: improve options and command listingJonas Fonseca, Dec 11, 2005
  2. Ben CliffordDec 17, 2005
  3. Jonas FonsecaDec 18, 2005
  4. Ben CliffordDec 19, 2005
  5. Ben CliffordDec 20, 2005

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.