diff options
author | Cornelius Weig <cornelius.weig@tngtech.com> | 2017-01-27 11:09:48 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-01-31 10:01:24 -0800 |
commit | b1421a43d5e28d71dc89b99877c3fbcb845aae08 (patch) | |
tree | 3f220ce664cb10383f52fb0a0e7ab75c6e7dc80d /t/t3904-stash-patch.sh | |
parent | refs: add option core.logAllRefUpdates = always (diff) | |
download | tgif-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 't/t3904-stash-patch.sh')
0 files changed, 0 insertions, 0 deletions