I'm wondering if you would accept a change that checked if we were inside a git repo, and if so refuse to update the file if it's dirty or not checked in (the idea being that this is a safer mode of operation). I might try to implement this if you can give me an idea of the design that you'd accept, if you need backwards compatibility or if the default can change, Etc