]> git.ipfire.org Git - thirdparty/git.git/commit
Merge branch 'js/adjust-tests-to-explicitly-access-bare-repo'
authorJunio C Hamano <gitster@pobox.com>
Wed, 20 May 2026 01:30:56 +0000 (10:30 +0900)
committerJunio C Hamano <gitster@pobox.com>
Wed, 20 May 2026 01:30:57 +0000 (10:30 +0900)
commit18581f836f63e5766334c1cc98badea8eedb5f07
tree88c2422f7d826eeee3ef867ffdf32b1ca6be8d78
parent3b3a3ef06624db3937a1e38d5d1f365cfdef1b69
parent985b38ca6cdbd04432a7072c790f8ddf9dcc717c
Merge branch 'js/adjust-tests-to-explicitly-access-bare-repo'

Some tests assume that bare repository accesses are by default
allowed; rewrite some of them to avoid the assumption, rewrite
others to explicitly set safe.bareRepository to allow them.

* js/adjust-tests-to-explicitly-access-bare-repo:
  safe.bareRepository: default to "explicit" with WITH_BREAKING_CHANGES
  status tests: filter `.gitconfig` from status output
  ls-files tests: filter `.gitconfig` from `--others` output
  t5601: restore `.gitconfig` after includeIf test
  t1305: use `--git-dir=.` for bare repo in include cycle test
  t1300: remove global config settings injected by test-lib.sh
  t7900: do not let `$HOME/.gitconfig` interfere with XDG tests
  test-lib: allow bare repository access when breaking changes are enabled
t/t7508-status.sh
t/t7900-maintenance.sh
t/test-lib-functions.sh
t/test-lib.sh