Thread (11 messages) 11 messages, 2 authors, 2022-10-31

Re: [PATCH 1/3] hook tests: fix redirection logic error in 96e7225b310

From: Ævar Arnfjörð Bjarmason <hidden>
Date: 2022-10-31 12:46:28

On Sat, Oct 29 2022, Taylor Blau wrote:
[+cc Emily]

On Sat, Oct 29, 2022 at 04:59:45AM +0200, Ævar Arnfjörð Bjarmason wrote:
quoted
diff --git a/t/t1800-hook.sh b/t/t1800-hook.sh
index 43fcb7c0bfc..2ef3579fa7c 100755
--- a/t/t1800-hook.sh
+++ b/t/t1800-hook.sh
@@ -95,7 +95,7 @@ test_expect_success 'git hook run -- out-of-repo runs excluded' '
 test_expect_success 'git -c core.hooksPath=<PATH> hook run' '
 	mkdir my-hooks &&
 	write_script my-hooks/test-hook <<-\EOF &&
-	echo Hook ran $1 >>actual
+	echo Hook ran $1
 	EOF
Looking reasonable to me. Though let's see what Emily thinks, too...
FWIW Junio looked at it back in
https://lore.kernel.org/git/xmqqczh84fpy.fsf@gitster.g/ (local)
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help