summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config.go13
m---------vendor/libgit20
2 files changed, 0 insertions, 13 deletions
diff --git a/config.go b/config.go
index 6b1f093..5bcb0f8 100644
--- a/config.go
+++ b/config.go
@@ -342,18 +342,6 @@ func OpenOndisk(parent *Config, path string) (*Config, error) {
return config, nil
}
-// Refresh refreshes the configuration to reflect any changes made externally e.g. on disk
-func (c *Config) Refresh() error {
- runtime.LockOSThread()
- defer runtime.UnlockOSThread()
-
- if ret := C.git_config_refresh(c.ptr); ret < 0 {
- return MakeGitError(ret)
- }
-
- return nil
-}
-
type ConfigIterator struct {
ptr *C.git_config_iterator
}
@@ -374,4 +362,3 @@ func (iter *ConfigIterator) Free() {
runtime.SetFinalizer(iter, nil)
C.free(unsafe.Pointer(iter.ptr))
}
-
diff --git a/vendor/libgit2 b/vendor/libgit2
-Subproject d676af43da6603f1b31fb6d2d3eb02793b260ad
+Subproject d09458f3e9f24afa0689ce90b7d419187237263