summaryrefslogtreecommitdiff
path: root/include/git2/sys/refdb_backend.h
diff options
context:
space:
mode:
authorCarlos Martín Nieto <cmn@dwim.me>2014-02-04 22:04:00 +0100
committerCarlos Martín Nieto <cmn@dwim.me>2014-02-05 12:07:56 +0100
commit911236619b5d774e33dd9f3de92a7c86c2befb26 (patch)
tree528d64a959077a604232980cc092f92d04f0e13f /include/git2/sys/refdb_backend.h
parentd6236cf662ebd4ba8ef4902c81a19bbfd92847f9 (diff)
downloadlibgit2-911236619b5d774e33dd9f3de92a7c86c2befb26.tar.gz
refdb: add conditional symbolic updates
Add a parameter to the backend to allow checking for the old symbolic target.
Diffstat (limited to 'include/git2/sys/refdb_backend.h')
-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 e43f9960b..13ce9a026 100644
--- a/include/git2/sys/refdb_backend.h
+++ b/include/git2/sys/refdb_backend.h
@@ -95,7 +95,7 @@ struct git_refdb_backend {
int (*write)(git_refdb_backend *backend,
const git_reference *ref, int force,
const git_signature *who, const char *message,
- const git_oid *old);
+ const git_oid *old, const char *old_target);
int (*rename)(
git_reference **out, git_refdb_backend *backend,