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

Re: [PATCH] Introduce git version --list-features for porcelain use

From
Junio C Hamano <junkio@cox.net>
Date
May 31, 2007, 23:46 UTC
Message-ID
<7vk5uo1rpr.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<20070531002030.GA15714@spearce.org>
"Shawn O. Pearce" <spearce@spearce.org> writes:
Show 22 quoted lines
> As a porcelain author I'm finding it difficult to keep track of
> what features I can use in git-gui.  Newer versions of Git have
> newer capabilities but they don't always immediately get newer
> version numbers that I can easily test for.
>
> This is a simple plumbing option that lets a porcelain ask the
> plumbing for its capabilities, at which point the porcelain can
> work around anything missing, or recommend to the user that they
> upgrade their plumbing layer.
>
> Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
> ---
>
> 	Johannes Schindelin <Johannes.Schindelin@gmx.de> wrote:
> 	>
> 	> On Wed, 30 May 2007, Alex Riesen wrote:
> 	>
> 	> > git-version --features?
> 	>
> 	> Melikes.
>
> 	Good?

Hmmm. I am not sure if you want list-features in the features list -- how are you going to test for it?

Also I still do not understand why you want redirect-stderr. Are you writing for a shell-less environment?

Previous: Shawn O. PearceNext: Shawn O. Pearce
Message 8 of 12 in “Introduce git-supported-features for porcelain use”
  1. Introduce git-supported-features for porcelain useShawn O. Pearce, May 30, 2007
  2. Alex RiesenMay 30, 2007
  3. Johannes SchindelinMay 30, 2007
  4. Introduce git version --list-features for porcelain useShawn O. Pearce, May 31, 2007
  5. Johannes SchindelinMay 31, 2007
  6. Alex RiesenMay 31, 2007
  7. Shawn O. PearceMay 31, 2007
  8. Junio C HamanoMay 31, 2007
  9. Shawn O. PearceJun 1, 2007
  10. Junio C HamanoJun 1, 2007
  11. Shawn O. PearceJun 1, 2007
  12. Johannes SixtJun 1, 2007

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.