git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
From: Magnus Homann <magnus@homann.se>
To: git@vger.kernel.org
Subject: submodule: --recurse-submodules vs. submodule.recurse=true
Date: Fri, 1 Sep 2017 07:39:42 +0200	[thread overview]
Message-ID: <eba8e727-25ef-b34b-cd2b-e92602709c9b@homann.se> (raw)

I'm using git 2.14.1 on cygwin.

Using --recurse-submodules, I can do 'git pull' and the submodules both get fetched and merged
automatically. I was under the impression that setting submodule.recurse to true would have the same
affect, without needing to write --recurse-submodules every time. But the docs seems a bit vague,
and I don't understand the git code.

Is there a way to config git pull to automatcially do a "--recurse-submodules" ?

Thanks,
Magnus

             reply	other threads:[~2017-09-01  5:44 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-09-01  5:39 Magnus Homann [this message]
2017-09-01  7:29 ` [PATCH] pull: honor submodule.recurse config option Nicolas Morey-Chaisemartin
2017-09-01 17:11   ` Stefan Beller
2017-09-01 18:15     ` René Scharfe
2017-09-01 17:28   ` Jonathan Nieder

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=eba8e727-25ef-b34b-cd2b-e92602709c9b@homann.se \
    --to=magnus@homann.se \
    --cc=git@vger.kernel.org \
    /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).