From: Sam Vilain Date: Tue, 10 Jul 2007 12:48:15 GMT Subject: Re: Per-file, possibly even per-hunk cherry picking Message-ID: <4693800F.4010308@vilain.net> In-Reply-To: <469378AB.7030909@vilain.net> Sam Vilain wrote: > I'm interested in extending the cherry analysis to allow specification > of the diff options used when calculating diff IDs, presenting the > calculated diff IDs for analysis by external tools, and even calculating > and dealing with per-hunk diff IDs. > On reflection I think so long as --cherry-pick works together with a file selection, it would probably be enough. ie, if I have these commits: A---B \ \ C B changes a file foo.c, adding a line of text. C changes foo.c as well as bar.c, but the change in foo.c was identical to change B. I want this to show me nothing: git-rev-list --left-right --cherry-pick B...C -- foo.c Would it be the right approach to put this information in ids->diffopts, or somewhere else? Sam.