From: Junio C Hamano Date: Tue, 28 Apr 2020 15:31:12 GMT Subject: Re: [PATCH v10 09/12] Add reftable library Message-ID: In-Reply-To: Junio C Hamano writes: > Danh Doan writes: > >>> +BSD License >>> + >>> +Copyright (c) 2020, Google LLC >>> +All rights reserved. >> >> Linking against GPLv2 code will make this code GPLv2, right? > > Wrong. A program (e.g. "git") can have various parts, some of which > is licensed under GPL, some other parts under BSD, yet some other > parts under LGPL. Read the second paragraph of README we ship > without source. without --> with our ;-) > > I think you are thinking about the obligation a distributor of the > linked binary compiled from such source has, which is that they need > to make available not just the GPL part but the rest of the program > used to compile the whole, including parts licensed under BSD and > other licenses.