diff options
author | Junio C Hamano <gitster@pobox.com> | 2017-02-03 19:25:19 (GMT) |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-02-03 19:25:19 (GMT) |
commit | fafca0f72a11bc03263e6f97d07d6f27ea61de48 (patch) | |
tree | 0498cf6b916a833d71ac540c4eec85212ee6ac94 /refs.h | |
parent | 74dee5cfae1250693447349f3f6bbc26201c5524 (diff) | |
parent | 67c70bd930538890d8eccace72fb0e0a0e565447 (diff) | |
download | git-fafca0f72a11bc03263e6f97d07d6f27ea61de48.zip git-fafca0f72a11bc03263e6f97d07d6f27ea61de48.tar.gz git-fafca0f72a11bc03263e6f97d07d6f27ea61de48.tar.bz2 |
Merge branch 'cw/log-updates-for-all-refs-really'
The "core.logAllRefUpdates" that used to be boolean has been
enhanced to take 'always' as well, to record ref updates to refs
other than the ones that are expected to be updated (i.e. branches,
remote-tracking branches and notes).
* cw/log-updates-for-all-refs-really:
doc: add note about ignoring '--no-create-reflog'
update-ref: add test cases for bare repository
refs: add option core.logAllRefUpdates = always
config: add markup to core.logAllRefUpdates doc
Diffstat (limited to 'refs.h')
-rw-r--r-- | refs.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -64,6 +64,8 @@ int read_ref(const char *refname, unsigned char *sha1); int ref_exists(const char *refname); +int should_autocreate_reflog(const char *refname); + int is_branch(const char *refname); extern int refs_init_db(struct strbuf *err); |