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

Re: [PATCH 4/4] cg-{diff,mkpatch}: rename/copy optional detection

From
Petr Baudis <pasky@suse.cz>
Date
Sep 12, 2005, 00:45 UTC
Message-ID
<20050912004502.GH15630@pasky.or.cz>
In-Reply-To
<20050902103135.24918.7990.stgit@zion.home.lan>

Dear diary, on Fri, Sep 02, 2005 at 12:31:38PM CEST, I got a letter where Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it> told me that...

Show 5 quoted lines
> Add -B, -M and -C options to detect content rewrites, renames and changes
> to cg-diff and cg-mkpatch, to be passed right down to git-diff-*.
> I've not added a way to pass down any option, since not everything may make
> sense, and a shell script colorizing --name-only-z output would not play so
> nice (and I mean "unreliable behaviour" - not tested obviously).

What about just by default doing full-blown detection, with an optional flag to do no detection (to produce patch-compatible diffs)? I don't think Cogito users usually need a more fine-tuned settings.

Obviously in that case we also have to fix cg-patch to process renames and stuff - but we should do that anyway. :-)

-- 
				Petr "Pasky" Baudis
Stuff: http://pasky.or.cz/
If you want the holes in your knowledge showing up try teaching
someone.  -- Alan Cox
Previous: Paolo 'Blaisorblade' GiarrussoNext: Blaisorblade
Message 5 of 6 in “Fix txt installation”
  1. 1/4 Fix txt installationPaolo 'Blaisorblade' Giarrusso, Sep 2, 2005
  2. 2/4 Fix cg-{diff,mkpatch} with HEAD^Paolo 'Blaisorblade' Giarrusso, Sep 2, 2005
  3. 3/4 commit-id micro cleanupPaolo 'Blaisorblade' Giarrusso, Sep 2, 2005
  4. 4/4 cg-{diff,mkpatch}: rename/copy optional detectionPaolo 'Blaisorblade' Giarrusso, Sep 2, 2005
  5. Petr BaudisSep 12, 2005
  6. BlaisorbladeSep 13, 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.