git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
From: Jonathan Nieder <jrnieder@gmail.com>
To: Eric Sunshine <sunshine@sunshineco.com>
Cc: git@vger.kernel.org, "Antoine Beaupré" <anarcat@debian.org>,
	"Matthieu Moy" <Matthieu.Moy@imag.fr>
Subject: Re: [PATCH] mw-to-git/t9360: fix broken &&-chain
Date: Mon, 30 Jul 2018 14:04:38 -0700	[thread overview]
Message-ID: <20180730210438.GF156463@aiede.svl.corp.google.com> (raw)
In-Reply-To: <20180730204646.32312-1-sunshine@sunshineco.com>

(+cc: some folks interested in git-remote-mediawiki)
Hi,

Eric Sunshine wrote:

> Signed-off-by: Eric Sunshine <sunshine@sunshineco.com>
> ---
> Jonathan's discovery[1] of a broken &&-chain in a contrib/subtree test
> prompted me to check other tests bundled in contrib/. This was the
> only other problem found. Unlike the subtree &&-chain case, this
> breakage is at the top-level, thus was caught by the normal
> --chain-lint mechanism, not the subshell linter.
>
> [1]: https://public-inbox.org/git/20180730190612.GB156463@aiede.svl.corp.google.
> com/

A small detail from there would be useful to have in the commit
message: namely that this was detected using --chain-lint (and what
command I can run to reproduce it myself).

With or without such a tweak to the commit message,

Reviewed-by: Jonathan Nieder <jrnieder@gmail.com>

Thanks.

>  contrib/mw-to-git/t/t9360-mw-to-git-clone.sh | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/contrib/mw-to-git/t/t9360-mw-to-git-clone.sh b/contrib/mw-to-git/t/t9360-mw-to-git-clone.sh
> index 22f069db48..cfbfe7ddf6 100755
> --- a/contrib/mw-to-git/t/t9360-mw-to-git-clone.sh
> +++ b/contrib/mw-to-git/t/t9360-mw-to-git-clone.sh
> @@ -247,7 +247,7 @@ test_expect_success 'Test of resistance to modification of category on wiki for
>  	wiki_editpage Notconsidered "this page will not appear on local" false &&
>  	wiki_editpage Othercategory "this page will not appear on local" false -c=Cattwo &&
>  	wiki_editpage Tobeedited "this page have been modified" true -c=Catone &&
> -	wiki_delete_page Tobedeleted
> +	wiki_delete_page Tobedeleted &&
>  	git clone -c remote.origin.categories="Catone" \
>  		mediawiki::'"$WIKI_URL"' mw_dir_14 &&
>  	wiki_getallpage ref_page_14 Catone &&
> -- 
> 2.18.0.597.ga71716f1ad
> 

  reply	other threads:[~2018-07-30 21:04 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <https://public-inbox.org/git/20180730190612.GB156463@aiede.svl.corp.google.com/>
2018-07-30 20:46 ` [PATCH] mw-to-git/t9360: fix broken &&-chain Eric Sunshine
2018-07-30 21:04   ` Jonathan Nieder [this message]
     [not found]   ` <9a96cf8f5254446fa244e4107cef4f3c@BPMBX2013-01.univ-lyon1.fr>
2018-08-08 16:10     ` Matthieu Moy
2018-08-21 18:55       ` Antoine Beaupré
2018-08-21 19:22         ` Eric Sunshine
2018-08-21 19:29           ` Antoine Beaupré

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

  List information: http://vger.kernel.org/majordomo-info.html

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180730210438.GF156463@aiede.svl.corp.google.com \
    --to=jrnieder@gmail.com \
    --cc=Matthieu.Moy@imag.fr \
    --cc=anarcat@debian.org \
    --cc=git@vger.kernel.org \
    --cc=sunshine@sunshineco.com \
    /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.
Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).