Re: [PATCH v9 0/3] push: add "--[no-]force-if-includes"
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Oct 1, 2020, 15:46 UTC
- Message-ID
- <xmqqlfgqc5kq.fsf@gitster.c.googlers.com>
- In-Reply-To
- <20201001082118.19441-1-shrinidhi.kaushik@gmail.com>
Srinidhi Kaushik <shrinidhi.kaushik@gmail.com> writes:
> Changes since v8: > - Disable "commit-graph" when "in_merge_bases_many()" is called > for this check, because it returns different results depending > on whether "commit-graph" is enabled [1].
Is that a wise move, though? If the "different results" is expected, then it is a different story, but I would think it is a bug in commit-graph codepath if it produces a result different from what the callers expect, and disabling from the caller's end would mean that we lose one opportunity to help commit-graph folks to go and fix their bugs, no?
Other than that, I think the topic is in quite a good shape. Thanks for working on polishing it.