rakyll / statik

Embed files into a Go executable
Apache License 2.0
3.76k stars 224 forks source link

Generated file was considered changed by git but source file didn't. #108

Closed myron-meng closed 4 years ago

myron-meng commented 4 years ago

I have a file public/index.html(no other files under public/), and statik generated file is statik/statik.go. My colleagues complain that statik/statik.go was considered changed by git after executing go generate command, but they didn't touch the public/index.html file. Is there any way to avoid this?

jcchavezs commented 4 years ago

Maybe related? https://github.com/rakyll/statik/pull/112