diff options
Diffstat (limited to 'storage')
-rw-r--r-- | storage/filesystem/internal/dotgit/writers.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/filesystem/internal/dotgit/writers.go b/storage/filesystem/internal/dotgit/writers.go index e0a41a8..531259b 100644 --- a/storage/filesystem/internal/dotgit/writers.go +++ b/storage/filesystem/internal/dotgit/writers.go @@ -236,7 +236,7 @@ func (s *syncedReader) Seek(offset int64, whence int) (int64, error) { } p, err := s.r.Seek(offset, whence) - s.read = uint64(p) + atomic.StoreUint64(&s.read, uint64(p)) return p, err } |