Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
encoding/jsonschema: do not let cue/load walk up to the git root
When using `GODEBUG=gocachehash=1 go test .`, the number of testInput lines goes down dramatically after the change, as the test cache logic no longer needs to stat hundreds of files in parent directories. $ grep testInput before.txt | wc -l 3960 $ grep testInput after.txt | wc -l 1291 Signed-off-by: Daniel Martí <[email protected]> Change-Id: Icf1555286be13c40defd33889f99009bcc001e22 Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/1201439 TryBot-Result: CUEcueckoo <[email protected]> Reviewed-by: Roger Peppe <[email protected]>
- Loading branch information