Thread (1 message) 1 message, 1 author, 2016-06-15

Re: [PATCH 11/13] contrib/subtree: Make each test self-contained

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:56:03

greened@obbligato.org writes:
Junio C Hamano [off-list ref] writes:
quoted
"David A. Greene" [off-list ref] writes:
quoted
+test_create_commit() (
+	repo=$1
+	commit=$2
+	cd "$repo"
+	mkdir -p "$(dirname "$commit")"
+	echo "$commit" > "$commit"
Style.
I need a little more explanation.  :)  Is there a style guide somewhere?
Documentation/CodingGuidelines?
quoted
quoted
+	git add "$commit"
+	git commit -m "$commit"
+)
Very nice, but don't we want to check for possible errors in any of
the above commands?
I'll fix that.  :)
...
Ok.  I'll rework this.
Thanks.

I also think it would be a good idea for you to learn to push back
to the original authors; fixing problems in patches by others, while
is a good way to learn how their thinking process went, is not
necessarily fun.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help