From: Junio C Hamano Date: Tue, 05 Feb 2013 15:18:41 GMT Subject: Re: [PATCH 11/13] contrib/subtree: Make each test self-contained Message-ID: <7v4nhqwzzi.fsf@alter.siamese.dyndns.org> In-Reply-To: <87d2wfrnbe.fsf@waller.obbligato.org> greened@obbligato.org writes: > Junio C Hamano writes: > >> "David A. Greene" writes: >> >>> +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? > >>> + 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.