From: Johannes Schindelin <Johannes.Schindelin@gmx.de>
To: skillzero@gmail.com
Cc: git@vger.kernel.org
Subject: Re: Why do git submodules require manual checkouts and commits?
Date: Fri, 16 May 2008 11:17:14 +0100 (BST) [thread overview]
Message-ID: <alpine.DEB.1.00.0805161055540.30431@racer> (raw)
In-Reply-To: <2729632a0805152116o3c998324xb401674207dd2e1e@mail.gmail.com>
Hi,
On Thu, 15 May 2008, skillzero@gmail.com wrote:
> Why do git submodules require manually committing the submodule itself
> to each super repository after something in the submodule repository
> changes?
Submodules are special.
You cannot recreate the exact state from a commit in the superproject, for
one, and often not even from the commit itself, since the submodule can
contain more than just the tracked files.
Also, no submodule _has_ to be checked out. If you are working inside a
superproject, chances are that you are uninterested in most of the
submodules.
So no, there is nothing to change here, please move along.
Ciao,
Dscho
next prev parent reply other threads:[~2008-05-16 10:18 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-05-16 4:16 Why do git submodules require manual checkouts and commits? skillzero
2008-05-16 10:17 ` Johannes Schindelin [this message]
2008-05-16 13:43 ` Avery Pennarun
2008-05-16 13:58 ` Johannes Schindelin
2008-05-16 14:12 ` Avery Pennarun
2008-05-16 14:24 ` Johannes Schindelin
2008-05-16 14:44 ` Avery Pennarun
2008-05-16 14:58 ` Lars Hjemli
2008-05-19 4:38 ` skillzero
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=alpine.DEB.1.00.0805161055540.30431@racer \
--to=johannes.schindelin@gmx.de \
--cc=git@vger.kernel.org \
--cc=skillzero@gmail.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