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

Re: [RFC] move --show-cdup, --show-prefix, and --show-git-dir out of git-rev-parse.

From
Martin Waitz <tali@admingilde.org>
Date
Oct 7, 2006, 21:36 UTC
Message-ID
<20061007213603.GB2871@admingilde.org>
In-Reply-To
<eg95a6$2v7$1@sea.gmane.org>
On Sat, Oct 07, 2006 at 11:14:34PM +0200, Jakub Narebski wrote:
Show 5 quoted lines
> Martin Waitz wrote:
> > They don't really have anything to do with refs.
> 
> But is it a good idea to add yet another command? We have too many of them
> already...
true
> I'd rather add one command, git-admin/git-config, or just move the options
> to the "git" command. So we would have "git --show-git-dir" in addition to
> "git --git-dir=<directory>".

I thought doing the same for these commands as for --help and --version but wanted to hear some opinions first...

After all, the comment in front of --version talked about legacy, so I was afraid to add more legacy ;-)

-- 
Martin Waitz
Previous: Jakub NarebskiNext: Junio C Hamano
Message 3 of 4 in “[RFC] move --show-cdup, --show-prefix, and --show-git-dir out of git-rev-parse.”
  1. Martin WaitzOct 7, 2006
  2. Jakub NarebskiOct 7, 2006
  3. Martin WaitzOct 7, 2006
  4. Junio C HamanoOct 8, 2006

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.