git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jens Lehmann <Jens.Lehmann@web.de>
To: Wilfred Hughes <wilfred@potatolondon.com>
Cc: git <git@vger.kernel.org>
Subject: Re: Submodule commits not show by git log
Date: Fri, 24 Feb 2012 21:45:48 +0100	[thread overview]
Message-ID: <4F47F6FC.6010602@web.de> (raw)
In-Reply-To: <CAMJPRQz09EwnRcMssQDRb4Pj_HZmfuxrJC0Bw6Ka4sA5gfYkWw@mail.gmail.com>

Am 23.02.2012 17:49, schrieb Wilfred Hughes:
> Hi all,
> 
> I'm trying to track changes on a git submodule. `$ git log
> path/to/submodule` is not showing any commits that changed the
> submodule commit.
> 
> For example, in my repo I have a submodule at the path
> ./memcache_utils that has had the commit referenced changed several
> times. It's definitely a submodule:
> 
> $ git submodule
> 
> 13eb087304b995705693d6f0927dec2d88dfadaf datastore_utils
> (heads/master-2-g13eb087)
>  7f5d6710b767a27f14e3e7bc009f026b3e5f0e74 memcache_utils (heads/master)
>  5877e2c2d82645fa44f121884291ee48cf24584d potatobase (5877e2c)
> 
> Yet the only commit shown is when there were files at that path:
> 
> $ git log memcache_utils
> commit 2cbe65bf31901873b01331e95fec72724e7458eb
> Author: [...]
> Date:   Thu Jan 26 20:44:07 2012 +0000
> 
>     Experimenting with Paul G's port of cache-machine. It should
> really be a git submodule but just want to see how it works so have
> taken a copy from [...]
> $
> 
> Have I missed something? I've tried and failed to create a minimal
> test case that demonstrates this behaviour. I can't see anything in
> the man pages to suggest that I'm using git log incorrectly, and
> Googling doesn't help.
> 
> Is this user error, a known bug, or a new one?

That is strange, I can't reproduce your problem here. It would be
great if you could give me access to your repo (you can also mail
me privately if you don't want to disclose the repo to the public).
And what version of git are you using?

      reply	other threads:[~2012-02-24 20:45 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-23 16:49 Submodule commits not show by git log Wilfred Hughes
2012-02-24 20:45 ` Jens Lehmann [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=4F47F6FC.6010602@web.de \
    --to=jens.lehmann@web.de \
    --cc=git@vger.kernel.org \
    --cc=wilfred@potatolondon.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).