diff options
author | Carlos Martín Nieto <cmn@dwim.me> | 2013-11-23 14:39:53 +0100 |
---|---|---|
committer | Carlos Martín Nieto <cmn@dwim.me> | 2013-12-09 15:55:11 +0100 |
commit | f21051297cc698644ea0dc9c7122ec944dba2863 (patch) | |
tree | b94a20b868860f84c5a674bbada254e789f4e43a /src/refdb.h | |
parent | 8d5ec9106afbca346a8def84ef20de0a7ba2240a (diff) | |
download | libgit2-f21051297cc698644ea0dc9c7122ec944dba2863.tar.gz |
refs: expose has_log() on the backend
The frontend used to look at the file directly, but that's obviously not
the right thing to do. Expose it on the backend and use that function
instead.
Diffstat (limited to 'src/refdb.h')
-rw-r--r-- | src/refdb.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/refdb.h b/src/refdb.h index 12c15cb9f..91eecb782 100644 --- a/src/refdb.h +++ b/src/refdb.h @@ -48,6 +48,7 @@ int git_refdb_delete(git_refdb *refdb, const char *ref_name); int git_refdb_reflog_read(git_reflog **out, git_refdb *db, const char *name); int git_refdb_reflog_write(git_reflog *reflog); +int git_refdb_has_log(git_refdb *db, const char *refname); int git_refdb_ensure_log(git_refdb *refdb, const char *refname); |