diff options
author | Denton Liu <liu.denton@gmail.com> | 2020-01-06 23:53:06 -0500 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-01-27 12:56:02 -0800 |
commit | 86ce6e0dd195d0b0494b0866c4b2771141a3c06c (patch) | |
tree | cbdcb083d8f7c6a2095e09d0d544f16574badfc6 /t/t7106-reset-unborn-branch.sh | |
parent | t3030: use test_path_is_missing() (diff) | |
download | tgif-86ce6e0dd195d0b0494b0866c4b2771141a3c06c.tar.xz |
t3310: extract common notes_merge_files_gone()
We have many statements which are duplicated. Extract and replace these
duplicate statements with notes_merge_files_gone().
While we're at it, replace the test_might_fail(), which should only be
used on git commands.
Also, remove the redirection from stderr to /dev/null. This is because
the test scripts automatically suppress output already. Otherwise, if a
developer asks for verbose output via the `-v` flag, the stderr output
may be useful for debugging.
Signed-off-by: Denton Liu <liu.denton@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t7106-reset-unborn-branch.sh')
0 files changed, 0 insertions, 0 deletions