summaryrefslogtreecommitdiff
path: root/lockfile.h
diff options
context:
space:
mode:
authorLibravatar Cornelius Weig <cornelius.weig@tngtech.com>2017-01-27 11:09:48 +0100
committerLibravatar Junio C Hamano <gitster@pobox.com>2017-01-31 10:01:24 -0800
commitb1421a43d5e28d71dc89b99877c3fbcb845aae08 (patch)
tree3f220ce664cb10383f52fb0a0e7ab75c6e7dc80d /lockfile.h
parentrefs: add option core.logAllRefUpdates = always (diff)
downloadtgif-b1421a43d5e28d71dc89b99877c3fbcb845aae08.tar.xz
update-ref: add test cases for bare repository
The default behavior of update-ref to create reflogs differs in repositories with worktree and bare ones. The existing tests cover only the behavior of repositories with worktree. This commit adds tests that assert the correct behavior in bare repositories for update-ref. Two cases are covered: - If core.logAllRefUpdates is not set, no reflogs should be created - If core.logAllRefUpdates is true, reflogs should be created Signed-off-by: Cornelius Weig <cornelius.weig@tngtech.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'lockfile.h')
0 files changed, 0 insertions, 0 deletions