aboutsummaryrefslogtreecommitdiffstats
path: root/storage/filesystem/dotgit/dotgit.go
diff options
context:
space:
mode:
authorMáximo Cuadros <mcuadros@gmail.com>2018-07-06 11:28:18 +0200
committerGitHub <noreply@github.com>2018-07-06 11:28:18 +0200
commit8ad72db0b7e1c03d9fad343890e469d5c3ed757b (patch)
tree16f8efddca3778a35947a4a6306f7ba96c194e31 /storage/filesystem/dotgit/dotgit.go
parentfcfd239c49baee9195f7b8234f46288a29c3951c (diff)
parentda5d474fb43dffd1b28cd5662b3a5bf7e446cd5c (diff)
downloadgo-git-8ad72db0b7e1c03d9fad343890e469d5c3ed757b.tar.gz
Merge pull request #864 from smola/no-norwfs
storage/filesystem: avoid norwfs build flag
Diffstat (limited to 'storage/filesystem/dotgit/dotgit.go')
-rw-r--r--storage/filesystem/dotgit/dotgit.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/filesystem/dotgit/dotgit.go b/storage/filesystem/dotgit/dotgit.go
index 52b621c..dc12f23 100644
--- a/storage/filesystem/dotgit/dotgit.go
+++ b/storage/filesystem/dotgit/dotgit.go
@@ -469,7 +469,7 @@ func (d *DotGit) openAndLockPackedRefs(doCreate bool) (
// File mode is retrieved from a constant defined in the target specific
// files (dotgit_rewrite_packed_refs_*). Some modes are not available
// in all filesystems.
- openFlags := openAndLockPackedRefsMode
+ openFlags := d.openAndLockPackedRefsMode()
if doCreate {
openFlags |= os.O_CREATE
}