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

Re: [PATCH] git-pickaxe: blame rewritten.

From
Linus Torvalds <torvalds@osdl.org>
Date
Oct 12, 2006, 15:58 UTC
Message-ID
<Pine.LNX.4.64.0610120854440.3952@g5.osdl.org>
In-Reply-To
<7v7iz5rk4b.fsf@assigned-by-dhcp.cox.net>
On Thu, 12 Oct 2006, Junio C Hamano wrote:
> +
> +SYNOPSIS
> +--------
> +'git-pickaxe' [-c] [-l] [-t] [-f] [-n] [-p] [-L n,m] [-S <revs-file>] [--] <file> [<rev>]
Btw, could we please get rid of this horrible command line syntax.
Pretty much _every_ other git command takes the form
	git cmd [<rev>] [--] <path>

but for some reason annotate and blame (and now pickaxe) do it the wrong way around, and do

	git cmd [--] <path> [<rev>]

which is just irritating to somebody who has grown very used to being able to specify revisions first.

(I'd actually also like to have a range-modifier, so that I could do
	git annotate --since=2.weeks.ago v2.6.18.. <path>

that didn't go back beyond a certain point, so the command line syntax actually _does_ matter - even if we don't support that now, having the regular command line syntax means that we -could- support it some day).

		Linus
Previous: Junio C HamanoNext: Junio C Hamano
Message 2 of 18 in “git-pickaxe: blame rewritten.”
  1. git-pickaxe: blame rewritten.Junio C Hamano, Oct 12, 2006
  2. Linus TorvaldsOct 12, 2006
  3. Junio C HamanoOct 12, 2006
  4. Luben TuikovOct 12, 2006
  5. Junio C HamanoOct 13, 2006
  6. Junio C HamanoOct 13, 2006
  7. Luben TuikovOct 12, 2006
  8. Junio C HamanoOct 12, 2006
  9. Luben TuikovOct 13, 2006
  10. Junio C HamanoOct 13, 2006
  11. Luben TuikovOct 13, 2006
  12. Junio C HamanoOct 13, 2006
  13. Junio C HamanoOct 13, 2006
  14. Luben TuikovOct 13, 2006
  15. Junio C HamanoOct 13, 2006
  16. Jakub NarebskiOct 12, 2006
  17. Petr BaudisOct 12, 2006
  18. Junio C HamanoOct 12, 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.