summaryrefslogtreecommitdiff
path: root/builtin
diff options
context:
space:
mode:
authorCornelius Weig <cornelius.weig@tngtech.com>2017-01-27 10:09:48 (GMT)
committerJunio C Hamano <gitster@pobox.com>2017-01-31 18:01:24 (GMT)
commitb1421a43d5e28d71dc89b99877c3fbcb845aae08 (patch)
tree3f220ce664cb10383f52fb0a0e7ab75c6e7dc80d /builtin
parent341fb28621201c5e6c9d3fee5baf7c532fa8a618 (diff)
downloadgit-b1421a43d5e28d71dc89b99877c3fbcb845aae08.zip
git-b1421a43d5e28d71dc89b99877c3fbcb845aae08.tar.gz
git-b1421a43d5e28d71dc89b99877c3fbcb845aae08.tar.bz2
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 'builtin')
0 files changed, 0 insertions, 0 deletions