Dashboardopencode-loreJJ versus Git diff hashes

JJ versus Git diff hashes

Category: gotcha
Confidence: 1.00
ID: 01a09f0d-459b-77d3-8f66-5b3a01aa2857
Project ID: 6f4be9ff-ed84-4cca-a9e7-732a0b0b8677
Cross-project: No
Recalled in other projects: 0
Source session: 0yjugA0mK4GfBAsLB
Created: 2026-09-14 08:34:02
Updated: 2026-09-14 08:34:02

Content

Trap: comparing a frozen plain Jujutsu diff hash with git diff --no-color --no-ext-diff looks like candidate-integrity verification, but the serializers produce different bytes for the same unchanged patch. Fix: freeze and compare the exact command and serialization format; when formats differ, verify both hashes against the same immutable base/head rather than treating the mismatch as drift.

Move to: