git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Junio C Hamano <gitster@pobox.com>
To: Jens Lehmann <Jens.Lehmann@web.de>
Cc: William Entriken <fulldecent@gmail.com>,
	git@vger.kernel.org, Phil Hord <hordp@cisco.com>,
	Stefan Zager <szager@google.com>,
	William Entriken <github.com@phor.net>
Subject: Re: [PATCH] submodule update: when using recursion, show full path
Date: Sun, 03 Mar 2013 19:48:04 -0800	[thread overview]
Message-ID: <7vsj4bygej.fsf@alter.siamese.dyndns.org> (raw)
In-Reply-To: <5133E570.7030507@web.de> (Jens Lehmann's message of "Mon, 04 Mar 2013 01:06:08 +0100")

Jens Lehmann <Jens.Lehmann@web.de> writes:

> Am 02.03.2013 20:44, schrieb William Entriken:
>> Previously when using update with recursion, only the path for the
>> inner-most module was printed. Now the path is printed relative to
>> the directory the command was started from. This now matches the
>> behavior of submodule foreach.
>> 
>> Signed-off-by: William Entriken <github.com@phor.net>
>
> Thanks, this patch cleanly applies against maint and addresses all
> issues from the previous rounds.
>
> Acked-by: Jens Lehmann <Jens.Lehmann@web.de>
>
> Junio, could you please squash in this additional test?

Thanks.

I wish all areas of Git had competent and diligent area maintainers
like you.  Makes it a lot easier for me _not_ to keep track of ;-).

>
> --------8<-------
> diff --git a/t/t7406-submodule-update.sh b/t/t7406-submodule-update.sh
> index feaec6c..70528b7 100755
> --- a/t/t7406-submodule-update.sh
> +++ b/t/t7406-submodule-update.sh
> @@ -612,7 +612,8 @@ test_expect_success 'submodule update places git-dir in superprojects git-dir re
>  	rm -rf super_update_r2 &&
>  	git clone super_update_r super_update_r2 &&
>  	(cd super_update_r2 &&
> -	 git submodule update --init --recursive &&
> +	 git submodule update --init --recursive >actual &&
> +	 test_i18ngrep "Submodule path .submodule/subsubmodule.: checked out" actual &&
>  	 (cd submodule/subsubmodule &&
>  	  git log > ../../expected
>  	 ) &&

      reply	other threads:[~2013-03-04  3:48 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-22  4:25 [PATCH] submodule update: when using recursion, show full path Will Entriken
2013-02-22 19:17 ` Jens Lehmann
2013-03-02 19:44   ` William Entriken
2013-03-04  0:06     ` Jens Lehmann
2013-03-04  3:48       ` 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=7vsj4bygej.fsf@alter.siamese.dyndns.org \
    --to=gitster@pobox.com \
    --cc=Jens.Lehmann@web.de \
    --cc=fulldecent@gmail.com \
    --cc=git@vger.kernel.org \
    --cc=github.com@phor.net \
    --cc=hordp@cisco.com \
    --cc=szager@google.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.
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 NNTP newsgroup(s).