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

Re: [PATCH] Add -O<orderfile> option to diff-* brothers.

From
Petr Baudis <pasky@ucw.cz>
Date
May 28, 2005, 11:12 UTC
Message-ID
<20050528111238.GA1036@pasky.ji.cz>
In-Reply-To
<7vzmufwu8w.fsf@assigned-by-dhcp.cox.net>

Dear diary, on Sat, May 28, 2005 at 11:54:39AM CEST, I got a letter where Junio C Hamano <junkio@cox.net> told me that...

Show 16 quoted lines
> A new diffcore filter diffcore-order is introduced.  This takes
> a text file each of whose line is a shell glob pattern.  Patches
> matching the glob pattern on an earlier line in the file are
> output before patches matching the glob pattern on a later line,
> and patches not matching any glob pattern is output last.
> 
> A typical orderfile for git project would probably look like
> this:
> 
>     README
>     Documentation
>     Makefile
>     *.h
>     *.c
> 
> Signed-off-by: Junio C Hamano <junkio@cox.net>

Hmm, is this really useful in practice? diff itself doesn't appear to have it either, and I haven't seen something like this before. So is it worth the code?

-- 
				Petr "Pasky" Baudis
Stuff: http://pasky.or.cz/
C++: an octopus made by nailing extra legs onto a dog. -- Steve Taylor
Previous: Junio C HamanoNext: Thomas Glanzmann
Message 6 of 13 in “Add -O<orderfile> option to diff-* brothers.”
  1. Add -O<orderfile> option to diff-* brothers.Junio C Hamano, May 28, 2005
  2. Thomas GlanzmannMay 28, 2005
  3. Junio C HamanoMay 28, 2005
  4. Thomas GlanzmannMay 28, 2005
  5. Junio C HamanoMay 30, 2005
  6. Petr BaudisMay 28, 2005
  7. Thomas GlanzmannMay 28, 2005
  8. Junio C HamanoMay 28, 2005
  9. Junio C HamanoMay 28, 2005
  10. Fix leak in diffcore-order.cJunio C Hamano, May 28, 2005
  11. Linus TorvaldsMay 29, 2005
  12. Junio C HamanoMay 29, 2005
  13. Junio C HamanoMay 30, 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.