Thread (2 messages) 2 messages, 2 authors, 2016-06-15

Re: [PATCH] Git segmentation faults if submodule path is empty.

flat view

From: Jharrod LaFon <hidden>
Date: 2016-06-15 22:58:27

It looks great to me.

Thanks,

--
Jharrod LaFon
OpenEye Scientific Software

On Aug 19, 2013, at 2:54 PM, Junio C Hamano [off-list ref] wrote:
Jharrod LaFon [off-list ref] writes:
quoted
I will keep trying this until it's perfect, and I thank you for
the help.  When I resubmit this, would you like me to include your
sign-off line as well?
If the one I attached at the end of the message you are responding
to looks fine to you, I'd just apply it without having you to
reroll.
quoted
Also, the end of the test script was not included in your message.  
Sorry, but I am not sure what you meant by this.

I reworked your example to make it the second test in an existing
test script.  There are many existing tests after that so it is
natural that we wouldn't see the end of the file in the patch
context.
quoted
quoted
diff --git a/t/t7400-submodule-basic.sh b/t/t7400-submodule-basic.sh
index 5ee97b0..a39d074 100755
--- a/t/t7400-submodule-basic.sh
+++ b/t/t7400-submodule-basic.sh
@@ -18,6 +18,16 @@ test_expect_success 'setup - initial commit' '
	git branch initial
'

+test_expect_success 'configuration parsing' '
+	test_when_finished "rm -f .gitmodules" &&
+	cat >.gitmodules <<-\EOF &&
+	[submodule "s"]
+		path
+		ignore
+	EOF
+	test_must_fail git status
+'
+
test_expect_success 'setup - repository in init subdirectory' '
	mkdir init &&
	(
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help