Re: [RFC/PATCH] merge-base: teach "git merge-base" to accept more than 2 arguments
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Jul 26, 2008, 04:37 UTC
- Message-ID
- <7vzlo5mfbf.fsf@gitster.siamese.dyndns.org>
- In-Reply-To
- <20080726055920.3a2fc8e7.chriscool@tuxfamily.org>
Christian Couder <chriscool@tuxfamily.org> writes:
Show 6 quoted lines
> Before this patch "git merge-base" accepted only 2 arguments, so > only merge bases between 2 references could be computed. > > The purpose of this patch is to make "git merge-base" accept more > than 2 arguments so that the merge bases between the first given > reference and all the other references can be computed.
I think this is a logical conclusion of merge_bases_many(). You need tests and docs, though.