diff options
author | Jeremy Stribling <strib@alum.mit.edu> | 2017-11-30 11:36:50 -0800 |
---|---|---|
committer | Jeremy Stribling <strib@alum.mit.edu> | 2017-11-30 14:14:12 -0800 |
commit | d53264806f0d5ddef259f45f4490a19398a102ba (patch) | |
tree | 24b4c7ee75bb84cb45e9fc63d21542e056c72f0d /remote_test.go | |
parent | 5a6cc4e0996d1dd6c66d46ced92dee26c3121628 (diff) | |
download | go-git-d53264806f0d5ddef259f45f4490a19398a102ba.tar.gz |
dotgit: rewrite packed-refs while holding lock
Windows file system doesn't let us rename over a file while holding
that file's lock, so use rewrite as a last resort. It could result in
a partially-written file, if there's a failure at the wrong time.
Diffstat (limited to 'remote_test.go')
0 files changed, 0 insertions, 0 deletions