go-git
go-git copied to clipboard
Simplify writer for filesystem compatibility
This simplifies the writer to fully flush the file to disk before reading. The issue was found when creating a billy.FS backed by a blob store, where the file isn't readable until written. I'm not aware of any benchmarks that this could affect but would assume it to be slightly slower.