git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH 0/4] faster SHA-1 collision detection

From
Junio C Hamano <gitster@pobox.com>
Date
Oct 8, 2026, 17:10 UTC
Message-ID
<xmqqece015k1.fsf@gitster.g>
In-Reply-To
<CALnO6CBbtKomawqc81MPV5Ngtc9J3M1ej4enGD3ZUzWnPSfsgw@mail.gmail.com>
"D. Ben Knoble" <ben.knoble@gmail.com> 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.
Previous: Sam ReisNext: D. Ben Knoble
Message 16 of 20 in “faster SHA-1 collision detection”
  1. 0/4 faster SHA-1 collision detectionScott Chacon, Sep 29, 2026
  2. 1/4 sha1dc-accel: add a block loop for sha1dc's SHA1_CTXScott Chacon, Sep 29, 2026
  3. Johannes SchindelinOct 7, 2026
  4. 2/4 sha1dc-accel: vectorize the unavoidable-bitconditions checkScott Chacon, Sep 29, 2026
  5. Johannes SchindelinOct 7, 2026
  6. Junio C HamanoOct 7, 2026
  7. 3/4 sha1dc-accel: compress with SHA-NI on x86-64Scott Chacon, Sep 29, 2026
  8. 4/4 sha1dc-accel: compress with the ARMv8 SHA-1 instructionsScott Chacon, Sep 29, 2026
  9. Johannes SchindelinOct 7, 2026
  10. Junio C HamanoOct 7, 2026
  11. Scott ChaconOct 7, 2026
  12. Sebastian ThielOct 8, 2026
  13. Sam ReisOct 8, 2026
  14. D. Ben KnobleOct 8, 2026
  15. Sam ReisOct 8, 2026
  16. Junio C HamanoOct 8, 2026
  17. D. Ben KnobleOct 8, 2026
  18. Junio C HamanoOct 8, 2026
  19. Todd ZullingerOct 9, 2026
  20. Junio C HamanoOct 8, 2026

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.