{"thread":{"id":"29712","subject":"Submodule commits not show by git log","startedAt":"2012-02-23T16:49:23Z","lastAt":"2012-02-24T20:45:48Z","messageCount":2,"participants":["Wilfred Hughes","Jens Lehmann"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"185284","messageId":"CAMJPRQz09EwnRcMssQDRb4Pj_HZmfuxrJC0Bw6Ka4sA5gfYkWw@mail.gmail.com","threadId":"29712","inReplyTo":null,"subject":"Submodule commits not show by git log","fromName":"Wilfred Hughes","fromEmail":"wilfred@potatolondon.com","sentAt":"2012-02-23T16:49:23Z","receivedAt":"2012-02-23T16:49:23Z","isPatch":false,"sender":{"key":"wilfred@potatolondon.com","avatar":null},"body":"Hi all,\n\nI'm trying to track changes on a git submodule. `$ git log\npath/to/submodule` is not showing any commits that changed the\nsubmodule commit.\n\nFor example, in my repo I have a submodule at the path\n./memcache_utils that has had the commit referenced changed several\ntimes. It's definitely a submodule:\n\n$ git submodule\n\n13eb087304b995705693d6f0927dec2d88dfadaf datastore_utils\n(heads/master-2-g13eb087)\n 7f5d6710b767a27f14e3e7bc009f026b3e5f0e74 memcache_utils (heads/master)\n 5877e2c2d82645fa44f121884291ee48cf24584d potatobase (5877e2c)\n\nYet the only commit shown is when there were files at that path:\n\n$ git log memcache_utils\ncommit 2cbe65bf31901873b01331e95fec72724e7458eb\nAuthor: [...]\nDate:   Thu Jan 26 20:44:07 2012 +0000\n\n    Experimenting with Paul G's port of cache-machine. It should\nreally be a git submodule but just want to see how it works so have\ntaken a copy from [...]\n$\n\nHave I missed something? I've tried and failed to create a minimal\ntest case that demonstrates this behaviour. I can't see anything in\nthe man pages to suggest that I'm using git log incorrectly, and\nGoogling doesn't help.\n\nIs this user error, a known bug, or a new one?\n\nMany thanks\nWilfred\n"},{"id":"185369","messageId":"4F47F6FC.6010602@web.de","threadId":"29712","inReplyTo":"CAMJPRQz09EwnRcMssQDRb4Pj_HZmfuxrJC0Bw6Ka4sA5gfYkWw@mail.gmail.com","subject":"Re: Submodule commits not show by git log","fromName":"Jens Lehmann","fromEmail":"jens.lehmann@web.de","sentAt":"2012-02-24T20:45:48Z","receivedAt":"2012-02-24T20:45:48Z","isPatch":false,"sender":{"key":"jens.lehmann@web.de","avatar":"https://avatars.githubusercontent.com/u/135220?v=4"},"body":"Am 23.02.2012 17:49, schrieb Wilfred Hughes:\n> Hi all,\n> \n> I'm trying to track changes on a git submodule. `$ git log\n> path/to/submodule` is not showing any commits that changed the\n> submodule commit.\n> \n> For example, in my repo I have a submodule at the path\n> ./memcache_utils that has had the commit referenced changed several\n> times. It's definitely a submodule:\n> \n> $ git submodule\n> \n> 13eb087304b995705693d6f0927dec2d88dfadaf datastore_utils\n> (heads/master-2-g13eb087)\n>  7f5d6710b767a27f14e3e7bc009f026b3e5f0e74 memcache_utils (heads/master)\n>  5877e2c2d82645fa44f121884291ee48cf24584d potatobase (5877e2c)\n> \n> Yet the only commit shown is when there were files at that path:\n> \n> $ git log memcache_utils\n> commit 2cbe65bf31901873b01331e95fec72724e7458eb\n> Author: [...]\n> Date:   Thu Jan 26 20:44:07 2012 +0000\n> \n>     Experimenting with Paul G's port of cache-machine. It should\n> really be a git submodule but just want to see how it works so have\n> taken a copy from [...]\n> $\n> \n> Have I missed something? I've tried and failed to create a minimal\n> test case that demonstrates this behaviour. I can't see anything in\n> the man pages to suggest that I'm using git log incorrectly, and\n> Googling doesn't help.\n> \n> Is this user error, a known bug, or a new one?\n\nThat is strange, I can't reproduce your problem here. It would be\ngreat if you could give me access to your repo (you can also mail\nme privately if you don't want to disclose the repo to the public).\nAnd what version of git are you using?\n"}]}