rev-list: refuse --first-parent combined with --bisect
commitf88851c6376f0b2a4cf87c061a848e4ae4438e0a
authorKevin Daudt <me@ikke.info>
Thu, 19 Mar 2015 22:14:08 +0000 (19 23:14 +0100)
committerJunio C Hamano <gitster@pobox.com>
Thu, 19 Mar 2015 22:26:21 +0000 (19 15:26 -0700)
treeea29f8f8bdc58aeeb3621673b309ee36f5204d90
parent282616c72d1d08a77ca4fe1186cb708c38408d87
rev-list: refuse --first-parent combined with --bisect

rev-list --bisect is used by git bisect, but never together with
--first-parent. Because rev-list --bisect together with --first-parent
is not handled currently, and even leads to segfaults, refuse to use
both options together.

Because this is not supported, it makes little sense to use git log
--bisect --first parent either, because refs/heads/bad is not limited to
the first parent chain.

Helped-by: Junio C. Hamano <gitster@pobox.com>
Helped-by: Eric Sunshine <sunshine@sunshineco.com>
Signed-off-by: Kevin Daudt <me@ikke.info>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/rev-list-options.txt
revision.c
t/t6000-rev-list-misc.sh