Re: [PATCH] Fix --cherry-pick with given paths

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Johannes Schindelin <Johannes.Schindelin@xxxxxx> writes:

> 	> 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

Thanks, both.

-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux