Thread (34 messages) 34 messages, 3 authors, 2017-10-30

Re: [PATCH 3/6] Add tests for git status `--ignored=matching`

From: Stefan Beller <hidden>
Date: 2017-10-05 21:59:29

On Thu, Oct 5, 2017 at 1:54 PM,  [off-list ref] wrote:
quoted hunk ↗ jump to hunk
From: Jameson Miller <redacted>

Add tests for new ignored mode (matching) when showing all untracked
files.

Signed-off-by: Jameson Miller <redacted>
---
 t/t7519-ignored-mode.sh | 132 ++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 132 insertions(+)
 create mode 100755 t/t7519-ignored-mode.sh
diff --git a/t/t7519-ignored-mode.sh b/t/t7519-ignored-mode.sh
new file mode 100755
index 0000000000..a8c35d1cbc
--- /dev/null
+++ b/t/t7519-ignored-mode.sh
@@ -0,0 +1,132 @@
+#!/bin/sh
+
+test_description='git status collapse ignored'
+
+. ./test-lib.sh
+
+# commit initial ignore file
+test_expect_success 'setup initial commit and ignore file' '
Here and in the following tests, I have the impression that the
leading comment says the same as the test title, so you could
omit the comments, putting all effort into a well word smithed
test title.

quoted hunk ↗ jump to hunk
+       cat >.gitignore <<-\EOF &&
+       *.ign
+       ignored_dir/
+       !*.unignore
+       EOF
+       git add . &&
+       test_tick &&
How is timing relevant to these test?

Thanks,
Stefan
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help