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

Re: [PATCH] whatchanged: customize diff-tree output

From
Junio C Hamano <junkio@cox.net>
Date
Dec 24, 2005, 09:44 UTC
Message-ID
<7vzmmqu8w4.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<20051223182047.GB3165@steel.home>
> But you cannot know which ones you have to give, unless you parsed
> output of git-repo-config!
Why?

I was suggesting that you would literally write something like this in your script:

	git-whatchanged --name-status "$1".."$2"

Then whatchanged uses the '--name-status', and ignores whatever is in the repository configuration, so you do not need to care what repo-config says. Neither used are its built-in defaults.

Previous: Junio C Hamano
Message 9 of 9 in “Use --abbrev in git-whatchanged”
  1. Use --abbrev in git-whatchangedJohannes Schindelin, Dec 21, 2005
  2. whatchanged: customize diff-tree outputJunio C Hamano, Dec 22, 2005
  3. Linus TorvaldsDec 22, 2005
  4. Johannes SchindelinDec 22, 2005
  5. Alex RiesenDec 22, 2005
  6. Johannes SchindelinDec 22, 2005
  7. Alex RiesenDec 23, 2005
  8. Junio C HamanoDec 23, 2005
  9. Junio C HamanoDec 24, 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.