From: Junio C Hamano <gitster@pobox.com>
To: "Ingo Brückl" <ib@wupperonline.de>
Cc: git@vger.kernel.org
Subject: Re: [PATCH v2 2/3] Make test t3700-add.sh more robust
Date: Fri, 29 Jul 2016 15:03:43 -0700 [thread overview]
Message-ID: <xmqq1t2cm79c.fsf@gitster.mtv.corp.google.com> (raw)
In-Reply-To: <579bc6ca.3f2601c7.bm001@wupperonline.de> ("Ingo Brückl"'s message of "Fri, 29 Jul 2016 23:11:36 +0200")
Ingo Brückl <ib@wupperonline.de> writes:
> Subject: Re: [PATCH v2 2/3] Make test t3700-add.sh more robust
Please check output from "git shortlog --no-merges -100" to see how
your titles play well with others. We typically prefix the title
with a specific area, a colon, and a sentence that does not begin in
a capital letter and does not end with a full-stop.
> Don't rely on chmod to work on the underlying platform (although it
> wouldn't harm the result of the '--chmod=-x' test). Directly check the
> result of the --chmod option.
>
> Add a test_mode_in_index helper function in order to check for success.
Hmph, I do not immediately see the point of having the helper in
test-lib-functions.sh, though. This helper looks more or less
specific to this test script.
In any case, I think addition of the "test_mode_in_index" helper and
conversion from case/esac to the helper should be a separate patch
from what this patch wants to do, which is to merge two more-or-less
redundant tests into one.
Thanks.
prev parent reply other threads:[~2016-07-29 22:03 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-07-29 21:11 [PATCH v2 2/3] Make test t3700-add.sh more robust Ingo Brückl
2016-07-29 22:03 ` Junio C Hamano [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=xmqq1t2cm79c.fsf@gitster.mtv.corp.google.com \
--to=gitster@pobox.com \
--cc=git@vger.kernel.org \
--cc=ib@wupperonline.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox