From: Sven Verdoolaege <skimo@kotnet.org>
To: Johannes Schindelin <Johannes.Schindelin@gmx.de>
Cc: Andy Parkins <andyparkins@gmail.com>,
git@vger.kernel.org, Junio C Hamano <gitster@pobox.com>,
Dmitry Kakurin <dmitry.kakurin@gmail.com>
Subject: Re: Submodules
Date: Thu, 09 Aug 2007 07:44:19 +0200 [thread overview]
Message-ID: <20070809054419.GT999MdfPADPa@greensroom.kotnet.org> (raw)
In-Reply-To: <Pine.LNX.4.64.0708082211100.21857@racer.site>
On Wed, Aug 08, 2007 at 10:12:52PM +0100, Johannes Schindelin wrote:
> This is what I did. I cloned msysgit.git, which contains one submodule.
> To initialise that, I did "git submodule init" and "git submodule update".
> It went and cloned the submodule. Fine.
>
> Then I committed in the submodule, a well-needed fix.
>
> If I now go to the superproject again, and say "git submodule status", it
> will not find the newest commit, and complain that it cannot access that
> object.
There must be something else you're not telling us.
This procedure works just fine for me
bash-3.00$ git clone git://repo.or.cz/msysgit.git
Initialized empty Git repository in /home/skimo/git/msysgit/.git/
remote: Generating pack...
remote: Done counting 1857 objects.
remote: Deltifying 1857 objects...
remote: 100% (1857/1857) done
Indexing 1857 objects...
remote: Total 1857 (delta 475), reused 1857 (delta 475)
100% (1857/1857) done
Resolving 475 deltas...
100% (475/475) done
bash-3.00$ cd msysgit/
bash-3.00$ git submodule init
Submodule 'git' (git://repo.or.cz/git/mingw/4msysgit.git/) registered for path 'git'
bash-3.00$ git submodule update
Initialized empty Git repository in /home/skimo/git/msysgit/git/.git/
remote: Generating pack...
remote: Done counting 58074 objects.
remote: Deltifying 58074 objects...
remote: 100% (58074/58074) done
Indexing 58074 objects...
remote: Total 58074 (delta 40790), reused 55132 (delta 37853)
100% (58074/58074) done
Resolving 40790 deltas...
100% (40790/40790) done
Submodule path 'git': checked out 'f1e1dc5119bd9862bb4d2a975c8ca6362ea43af5'
bash-3.00$ cd git/
bash-3.00$ touch a; git add a; git commit -m 'add a'
Created commit 5318784: add a
0 files changed, 0 insertions(+), 0 deletions(-)
create mode 100644 a
bash-3.00$ cd ..
bash-3.00$ git submodule status
+5318784e6d492d988284a4d9aa4025496f2a3309 git (v1.5.3-rc2-690-g5318784)
skimo
next prev parent reply other threads:[~2007-08-09 5:44 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-08-07 22:37 Submodules Dmitry Kakurin
2007-08-07 22:49 ` Submodules Johannes Schindelin
2007-08-07 23:10 ` Submodules Dmitry Kakurin
2007-08-08 10:27 ` Submodules Sven Verdoolaege
2007-08-07 22:50 ` Submodules Johannes Schindelin
2007-08-07 23:31 ` Submodules Dmitry Kakurin
2007-08-08 0:07 ` Submodules Johannes Schindelin
2007-08-08 10:41 ` Submodules Sven Verdoolaege
2007-08-08 19:33 ` Submodules Junio C Hamano
2007-08-08 19:40 ` Submodules Johannes Schindelin
2007-08-08 19:59 ` Submodules Junio C Hamano
2007-08-08 20:08 ` Submodules Sven Verdoolaege
2007-08-08 22:08 ` Submodules Junio C Hamano
2007-08-08 22:18 ` Submodules Johannes Schindelin
2007-08-08 20:27 ` Submodules Junio C Hamano
2007-08-08 20:47 ` Submodules Andy Parkins
2007-08-08 21:12 ` Submodules Johannes Schindelin
2007-08-09 5:44 ` Sven Verdoolaege [this message]
2007-08-08 19:53 ` Submodules Sven Verdoolaege
-- strict thread matches above, loose matches on Subject: below --
2013-05-03 13:45 submodules shawn wilson
2013-05-03 19:51 ` submodules Jens Lehmann
2014-01-23 8:38 submodules shawn wilson
2014-01-23 17:20 ` submodules W. Trevor King
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=20070809054419.GT999MdfPADPa@greensroom.kotnet.org \
--to=skimo@kotnet.org \
--cc=Johannes.Schindelin@gmx.de \
--cc=andyparkins@gmail.com \
--cc=dmitry.kakurin@gmail.com \
--cc=git@vger.kernel.org \
--cc=gitster@pobox.com \
--cc=skimo@liacs.nl \
/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).