aboutsummaryrefslogtreecommitdiffstats
path: root/_examples/checkout/main.go
diff options
context:
space:
mode:
authorJeremy Stribling <strib@alum.mit.edu>2017-11-02 16:30:51 -0700
committerJeremy Stribling <strib@alum.mit.edu>2017-11-29 10:37:30 -0800
commitd50161181583f7767038de58eff8ee204de7646d (patch)
tree108ce8becf34ffafdce7b3bb82100ef55fe0188d /_examples/checkout/main.go
parent3447303ce76caa3a22e9f510fa00e73f5143267e (diff)
downloadgo-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/checkout/main.go')
0 files changed, 0 insertions, 0 deletions