Merge branch 'hn/create-reflog-simplify'
A small simplification of API. * hn/create-reflog-simplify: refs: drop force_create argument of create_reflog API
This commit is contained in:
4
refs.h
4
refs.h
@ -417,8 +417,8 @@ int refs_pack_refs(struct ref_store *refs, unsigned int flags);
|
||||
* Setup reflog before using. Fill in err and return -1 on failure.
|
||||
*/
|
||||
int refs_create_reflog(struct ref_store *refs, const char *refname,
|
||||
int force_create, struct strbuf *err);
|
||||
int safe_create_reflog(const char *refname, int force_create, struct strbuf *err);
|
||||
struct strbuf *err);
|
||||
int safe_create_reflog(const char *refname, struct strbuf *err);
|
||||
|
||||
/** Reads log for the value of ref during at_time. **/
|
||||
int read_ref_at(struct ref_store *refs,
|
||||
|
Reference in New Issue
Block a user