Fix --cherry-pick with given paths
commit36d56de649aacdbf555d2c9743c514cc52368f2c
authorJohannes Schindelin <Johannes.Schindelin@gmx.de>
Tue, 10 Jul 2007 13:50:49 +0000 (10 14:50 +0100)
committerJunio C Hamano <gitster@pobox.com>
Wed, 11 Jul 2007 21:59:31 +0000 (11 14:59 -0700)
tree9331753d9ae33d057767444b8dad90de2b9c8639
parent835252272e0192bd26983e22428480c5c89775fb
Fix --cherry-pick with given paths

If you say --cherry-pick, you do not want to see patches which are
in the upstream.  If you specify paths with that, what you usually
expect is that only those parts of the patches are looked at which
actually touch the given paths.

With this patch, that expectation is met.

Noticed by Sam Vilain.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
revision.c
t/t6007-rev-list-cherry-pick-file.sh [new file with mode: 0755]