The `amendedDiffStatus` function at https://github.com/zombiezen/gg/blob/7a34fa369d22ac969419dd375a19c0ee031ebeec/cmd/gg/commit.go#L132 has no unit tests. It should have unit tests.