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 23, 2005, 04:19 UTC
Message-ID
<7vvexgfns4.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<20051222210620.GA4679@steel.home>
Alex Riesen <raa.lkml@gmail.com> writes:
> That's the point, isn't it? A script from ~user1/bin, which calls
> git-whatchanged suddenly stops working in ~user2/repo.

For scripted use you can give command line arguments yourself to whatchanged and you can bypass the repoconfig. I do not think whatchanged is meant for scripted use, though --- it is such a simple script, and if you want to build on it to do something more elaborate, I think you would be better off writing those rev-list and diff-tree in your script.

Previous: Alex RiesenNext: Junio C Hamano
Message 8 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.