Skip to content

t: add tests for error conditions with --pathspec-from-file

Alexandr Miloslavskiy via GitGitGadget git 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest1 patch 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/1t: add tests for error conditions with --pathspec-from-filet/t2026-checkout-pathspec-file.sh t/t2072-restore-pathspec-file.sh t/t3704-add-pathspec-file.sh +2 more+105 -120 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/1] t: add tests for error conditions with --pathspec-from-file

This patch adds tests for various cases where using --pathspec-from-file would result in a git error, such as using incompatible options.

This branch is a follow-up for [1] where part of branch was merged into master via [2]. The idea for these tests is from [3] where another error condition was added together with a test.

[1] https://lore.kernel.org/git/[email protected]/
[2] https://public-inbox.org/git/[email protected]/
[3] https://public-inbox.org/git/[email protected]/

Alexandr Miloslavskiy (1):
t: add tests for error conditions with --pathspec-from-file

 t/t2026-checkout-pathspec-file.sh | 17 +++++++++++++++++
 t/t2072-restore-pathspec-file.sh  | 18 ++++++++++++++++++
 t/t3704-add-pathspec-file.sh      | 25 +++++++++++++++++++++++++
 t/t7107-reset-pathspec-file.sh    | 30 +++++++++++++++++++++---------
 t/t7526-commit-pathspec-file.sh   | 27 ++++++++++++++++++++++++---
 5 files changed, 105 insertions(+), 12 deletions(-)

base-commit: 0a76bd7381ec0dbb7c43776eb6d1ac906bca29e6
Published-As: https://github.com/gitgitgadget/git/releases/tag/pr-502%2FSyntevoAlex%2F%230207(git)_2a_test_error_conditions-v1
Fetch-It-Via: git fetch https://github.com/gitgitgadget/git pr-502/SyntevoAlex/#0207(git)_2a_test_error_conditions-v1
Pull-Request: https://github.com/gitgitgadget/git/pull/502

Signature · 1 line
gitgitgadget