]> git.ipfire.org Git - thirdparty/git.git/commit - git-rebase--am.sh
rebase--am: use --cherry-pick instead of --ignore-if-in-upstream
authorJohn Keeping <john@keeping.me.uk>
Tue, 15 Jul 2014 19:14:02 +0000 (20:14 +0100)
committerJunio C Hamano <gitster@pobox.com>
Tue, 15 Jul 2014 22:05:02 +0000 (15:05 -0700)
commitb6266dc88b1fcc91d084cc9c65e0b0805cf59d55
treec514e58bfd52b3cc2f9cd08e9c1fa39f0e85cab2
parent3d15f536a7f5215eddae20214fb8eaeeb6baaf27
rebase--am: use --cherry-pick instead of --ignore-if-in-upstream

When using `git format-patch --ignore-if-in-upstream` we are only
allowed to give a single revision range.  In the next commit we will
want to add an additional exclusion revision in order to handle fork
points correctly, so convert `git-rebase--am` to use a symmetric
difference with `--cherry-pick --right-only`.

This does not change the result of the format-patch invocation, just how
we spell the arguments.

Signed-off-by: John Keeping <john@keeping.me.uk>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-rebase--am.sh