Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/libgit2.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@edwardthomson.com>2015-07-24 23:01:04 +0300
committerEdward Thomson <ethomson@edwardthomson.com>2015-07-24 23:01:04 +0300
commit91dad181439e0ea59bb84f8af9d7e144646f20c1 (patch)
treed88debd4a0bbc7c5bc15e2a249198fb63e457da9 /include
parent14e805a2ceebb360e0bf8d5c006244d5f8af4741 (diff)
parent01d0c02dbaa8856c4e2481ab1435bdf7df58690a (diff)
Merge pull request #3305 from libgit2/cmn/reflog-del-backend
refdb: delete a ref's reflog upon deletion
Diffstat (limited to 'include')
-rw-r--r--include/git2/sys/refdb_backend.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/git2/sys/refdb_backend.h b/include/git2/sys/refdb_backend.h
index d943e550f..9f2a99b7e 100644
--- a/include/git2/sys/refdb_backend.h
+++ b/include/git2/sys/refdb_backend.h
@@ -103,8 +103,9 @@ struct git_refdb_backend {
const git_signature *who, const char *message);
/**
- * Deletes the given reference from the refdb. A refdb implementation
- * must provide this function.
+ * Deletes the given reference (and if necessary its reflog)
+ * from the refdb. A refdb implementation must provide this
+ * function.
*/
int (*del)(git_refdb_backend *backend, const char *ref_name, const git_oid *old_id, const char *old_target);