How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Update src/sha1hard.c to match the current upstream implementation, which LLM analysis assures us is faster. The only local changes applied were minor formatting, add 'static' to a few functions, and remove those which fail the resulting 'defined but not used' warning. This change requires stdint.h: C99 but unsupported by MSC until mid-2000-teens, so this might not build with an ancient MSC. Passes tests with rebuild, test-integrity, and this check-in. (tags: trunk)

calendar_today October 16, 2026 person stephan domain fossil-scm

Update src/sha1hard.c to match the current upstream implementation, which LLM analysis assures us is faster. The only local changes applied were minor formatting, add ‘static’ to a few functions, and remove those which fail the resulting ‘defined but not used’ warning. This change requires stdint.h: C99 but unsupported by MSC until mid-2000-teens, so this might not build with an ancient MSC.

open_in_new Read original post