ava-labs / subnet-evm

Launch your own EVM as an Avalanche Subnet
https://docs.avax.network/subnets/create-a-fuji-subnet
GNU Lesser General Public License v3.0
243 stars 220 forks source link

chore: script for creating per-file diffs against arbitrary geth commit #1212

Closed ARR4N closed 3 months ago

ARR4N commented 3 months ago

Why this should be merged

Provides a common, repeatable method for performing whole-repo diffs against geth, intended for human consumption[^1].

How this works

Loops over every file changed between the current HEAD and a specified commit, printing a per-file diff to a shadow directory structure.

How this was tested

Manually by inspection of output. It's only a helper script for developer chores so doesn't necessitate full testing.

How is this documented

Usage comment in the script.

[^1]: For programmatic diff consumption, consider bluekeyes/go-gitdiff