Skip to content

pr-git-1147/hanwen/skip-verification-v4

this covers a few cases of direct filesystem access to the ref database in
tests.

v4:

 * fix stack OOB read due to missing array terminator.

Han-Wen Nienhuys (8):
  test-ref-store: remove force-create argument for create-reflog
  test-ref-store: parse symbolic flag constants
  test-ref-store: plug memory leak in cmd_delete_refs
  refs: update comment.
  refs: introduce REF_SKIP_OID_VERIFICATION flag
  refs: introduce REF_SKIP_REFNAME_VERIFICATION flag
  t1430: remove refs using test-tool
  t1430: create valid symrefs using test-helper

 refs.c                         |  7 +--
 refs.h                         | 16 +++++-
 refs/files-backend.c           | 53 ++++++++++---------
 t/helper/test-ref-store.c      | 75 +++++++++++++++++++++++----
 t/t1006-cat-file.sh            |  5 +-
 t/t1405-main-ref-store.sh      |  8 ++-
 t/t1406-submodule-ref-store.sh |  2 +-
 t/t1430-bad-ref-name.sh        | 93 ++++++++++++++++++----------------
 t/t3800-mktag.sh               |  6 ++-
 9 files changed, 172 insertions(+), 93 deletions(-)

base-commit: abe6bb3905392d5eb6b01fa6e54d7e784e0522aa

Submitted-As: https://lore.kernel.org/git/pull.1147.v4.git.git.1638884300.gitgitgadget@gmail.com
In-Reply-To: https://lore.kernel.org/git/pull.1147.git.git.1637855761.gitgitgadget@gmail.com
In-Reply-To: https://lore.kernel.org/git/pull.1147.v2.git.git.1638211786.gitgitgadget@gmail.com
In-Reply-To: https://lore.kernel.org/git/pull.1147.v3.git.git.1638470403.gitgitgadget@gmail.com
Assets 2