From: Junio C Hamano Date: Thu, 08 Oct 2026 17:10:54 GMT Subject: Re: [PATCH 0/4] faster SHA-1 collision detection Message-ID: In-Reply-To: "D. Ben Knoble" writes: > but I didn't see a discussion of licensing at that time. Perhaps the > idea is that we are clear that such code carries a different license > from Git? We are GPL-2 only, which means we can incorporate BSD-licensed software as long as we satisfy its license and copyright notice requirements. The above is not an AI-bot-supplied answer, but what one learns when talking to copyright lawyers or reading books on software licensing. But sometimes asking LLM gives sufficiently useful answer. I typed "Is GPLv2 compatible with BSD?" in the search bar of a browser, and here is the early part of what I got, which is not too bad. * AI summary Yes, GPLv2 is generally compatible with modern BSD (2-clause and 3-clause) licenses, though the direction of the combination matters. Compatibility Details • BSD inside GPLv2: You can include a 2-clause or 3-clause BSD-licensed library or code snippet inside a GPLv2-licensed project. The resulting combined work must be distributed under the terms of the GPLv2. • GPLv2 inside BSD: You cannot take GPLv2-licensed code and place it into a purely BSD-licensed project. Because the GPLv2 is a strong copyleft license, it forces the entire combined work to be covered by the GPLv2.