diff options
author | Edward Thomson <ethomson@edwardthomson.com> | 2015-07-24 15:01:04 -0500 |
---|---|---|
committer | Edward Thomson <ethomson@edwardthomson.com> | 2015-07-24 15:01:04 -0500 |
commit | 91dad181439e0ea59bb84f8af9d7e144646f20c1 (patch) | |
tree | d88debd4a0bbc7c5bc15e2a249198fb63e457da9 /include/git2 | |
parent | 14e805a2ceebb360e0bf8d5c006244d5f8af4741 (diff) | |
parent | 01d0c02dbaa8856c4e2481ab1435bdf7df58690a (diff) | |
download | libgit2-91dad181439e0ea59bb84f8af9d7e144646f20c1.tar.gz |
Merge pull request #3305 from libgit2/cmn/reflog-del-backend
refdb: delete a ref's reflog upon deletion
Diffstat (limited to 'include/git2')
-rw-r--r-- | include/git2/sys/refdb_backend.h | 5 |
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); |