diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2020-08-23 19:27:07 +0100 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2020-08-23 19:27:07 +0100 |
commit | 7302297304b2db3c04be6ba48f5701afd23537b7 (patch) | |
tree | 24e8e13573928037dc170696c75cb3ffd08ef875 | |
parent | Add copyrange support (diff) | |
download | netfs-gitfs-7302297304b2db3c04be6ba48f5701afd23537b7.tar.bz2 netfs-gitfs-7302297304b2db3c04be6ba48f5701afd23537b7.tar.xz netfs-gitfs-7302297304b2db3c04be6ba48f5701afd23537b7.zip |
Remove unused helper
-rw-r--r-- | src/git.h | 9 |
1 files changed, 0 insertions, 9 deletions
@@ -28,15 +28,6 @@ namespace GitFS::Git { return TPtr<R>(r, release); } - template<typename E, typename R, typename... P, typename... A> - auto - gitSafeGet(int (*get)(R **, P...), A... p) - { - R * r = nullptr; - gitSafe<E>(get, &r, p...); - return r; - } - git_oid OidParse(const std::string_view & str); using RepositoryPtr = decltype(gitSafeGet<std::exception>(git_repository_open_bare, git_repository_free, nullptr)); |