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

Re: [PATCH] cg-diff fixed to work with BSD xargs

From
Petr Baudis <pasky@suse.cz>
Date
Sep 20, 2005, 19:39 UTC
Message-ID
<20050920193956.GE28621@pasky.or.cz>
In-Reply-To
<7v7je3ld53.fsf@assigned-by-dhcp.cox.net>

Dear diary, on Tue, Aug 30, 2005 at 04:20:40PM CEST, I got a letter where Junio C Hamano <junkio@cox.net> told me that...

Show 10 quoted lines
> But the code you are fixing looks to me like it is already
> somewhat obsolete, even if it is still working.  The munging of
> user-given paths into $filter temporary file was necessary only
> because older git-diff-* family did not work from anywhere but
> the top-level directory; they do, thanks to Linus' enhancements,
> these days.
> 
> I think it is time to start updating Cogito to take advantage of
> the modern core.  I do not do Porcelains, but here is my stab at
> it.

Thanks for the patch - it'd be actually very nice to get rid of the complexity. But more than that, I want to be consistent - so do all the GIT core commands work in subdirectories by now, or only a subset of them? I'd hate to have half of the scripts stay in the subdirectory and half use the Cogito's old relpath logic, so it's either everything or anything from my POV.

Thanks,
-- 
				Petr "Pasky" Baudis
Stuff: http://pasky.or.cz/
VI has two modes: the one in which it beeps and the one in which
it doesn't.
Previous: Junio C HamanoNext: Matthias Urlichs
Message 3 of 9 in “cg-diff fixed to work with BSD xargs”
  1. cg-diff fixed to work with BSD xargsMartin Langhoff, Aug 30, 2005
  2. Junio C HamanoAug 30, 2005
  3. Petr BaudisSep 20, 2005
  4. Matthias UrlichsSep 21, 2005
  5. Petr BaudisSep 21, 2005
  6. Matthias UrlichsSep 21, 2005
  7. Petr BaudisSep 21, 2005
  8. Matthias UrlichsSep 21, 2005
  9. Martin LanghoffSep 21, 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.