| Josh Bleecher Snyder | 833a0f8 | 2025-04-24 18:39:36 +0000 | [diff] [blame] | 1 | Test that formatting issues are not reported if pre-existing, per-file |
| 2 | |||||
| 3 | -- main.go -- | ||||
| 4 | package main | ||||
| 5 | |||||
| 6 | -- .commit -- | ||||
| 7 | Initial commit | ||||
| 8 | |||||
| 9 | -- main.go -- | ||||
| 10 | package main | ||||
| 11 | |||||
| 12 | import "fmt" | ||||
| 13 | |||||
| 14 | -- file1.go -- | ||||
| 15 | package main | ||||
| 16 | |||||
| 17 | -- .commit -- | ||||
| 18 | Add multiple files with formatting issues | ||||
| 19 | |||||
| 20 | -- .run_autoformat -- | ||||
| 21 | /PATH/TO/REPO/file1.go | ||||