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