diff options
author | Jeremy Stribling <strib@alum.mit.edu> | 2017-11-02 16:30:51 -0700 |
---|---|---|
committer | Jeremy Stribling <strib@alum.mit.edu> | 2017-11-29 10:37:30 -0800 |
commit | d50161181583f7767038de58eff8ee204de7646d (patch) | |
tree | 108ce8becf34ffafdce7b3bb82100ef55fe0188d /_examples/clone/main.go | |
parent | 3447303ce76caa3a22e9f510fa00e73f5143267e (diff) | |
download | go-git-d50161181583f7767038de58eff8ee204de7646d.tar.gz |
dotgit: during rewriting, re-open packed-refs after locking
The file could have been completely replaced while waiting for the
lock, so we need to re-open, otherwise we might be reading a stale
file that has already been deleted/overwritten.
Diffstat (limited to '_examples/clone/main.go')
0 files changed, 0 insertions, 0 deletions