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

Re: 1.7.7.3 wishlist: add --verbose option to git-tag

From
Jeff King <peff@peff.net>
Date
Jan 3, 2012, 19:39 UTC
Message-ID
<20120103193952.GF20926@sigill.intra.peff.net>
In-Reply-To
<87d3b51vr0.fsf@cante.cante.net>
On Sat, Dec 31, 2011 at 01:32:19AM +0200, Jari Aalto wrote:
Show 7 quoted lines
> In scripts it would be useful if "git tag" would provide option:
> 
>     --verbose
> 
> As in script:
> 
>     git tag --verbose -m "Initial import" upstream/1.0
What would the --verbose flag do?
Show 8 quoted lines
> It would also help if all commands would use similar interface. In "git
> tag" case, this would meen relocating:
> 
>     -v      =>      -g, --verify-gpg
> 
> And reserve these:
> 
>     -v, --verbose

I agree it would be nicer. We would need to follow the usual deprecation procedure of:

  1. introduce "-g", leave "-v" as a deprecated alias
  2. wait a long time
  3. drop "-v"

If you want to start a discussion, producing a patch for (1) is probably the best way. If your plan is eventual consistency between options of various commands, an even better start would be listing the existing non-verbose uses of "-v" and making aliases for all of them.

-Peff
Previous: Jari AaltoNext: Junio C Hamano
Message 2 of 4 in “1.7.7.3 wishlist: add --verbose option to git-tag”
  1. Jari AaltoDec 30, 2011
  2. Jeff KingJan 3, 2012
  3. Junio C HamanoJan 3, 2012
  4. jaaltoJan 3, 2012

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.