summaryrefslogtreecommitdiff
path: root/include/git2/sys
diff options
context:
space:
mode:
authorCarlos Martín Nieto <cmn@dwim.me>2014-02-05 11:07:34 +0100
committerCarlos Martín Nieto <cmn@dwim.me>2014-02-05 12:07:57 +0100
commit7ee8c7e6776a3c5b3a45cfd10ccf205eebb3f3fe (patch)
tree5607d35a6c22f62bfe3412c57a35d653bbc063f2 /include/git2/sys
parentf8621dde4057aba2df8d7585f6fbf2d6ee4fc023 (diff)
downloadlibgit2-7ee8c7e6776a3c5b3a45cfd10ccf205eebb3f3fe.tar.gz
refs: placeholder conditional delete
We don't actually pass the old value yet.
Diffstat (limited to 'include/git2/sys')
-rw-r--r--include/git2/sys/refdb_backend.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/git2/sys/refdb_backend.h b/include/git2/sys/refdb_backend.h
index 13ce9a026..aa5ef9ecc 100644
--- a/include/git2/sys/refdb_backend.h
+++ b/include/git2/sys/refdb_backend.h
@@ -106,7 +106,7 @@ struct git_refdb_backend {
* Deletes the given reference from the refdb. A refdb implementation
* must provide this function.
*/
- int (*del)(git_refdb_backend *backend, const char *ref_name);
+ int (*del)(git_refdb_backend *backend, const char *ref_name, const git_oid *old_id, const char *old_target);
/**
* Suggests that the given refdb compress or optimize its references.