I have a commit on master, hash 6877146, which updates the submodule.
$ git show 6877146 commit 6877146f1781bfbd4ec3ae2a27121a606f5f688e Author: [snip] Date: Wed Feb 22 16:10:20 2012 +0000 updating potatobase diff
This commit is on the main branch, which I currently checked:
$ git branch -a --contains 6877146 * master remotes/origin/HEAD -> origin/master remotes/origin/master remotes/origin/ticket-1479-refactor-blade-json-functions
However, running git log on a submodule does not show commit:
$ git log potatobase | grep 6877146 $
If I explicitly verify this commit, it is in the log:
$ git checkout 6877146 $ git log potatobase | grep 6877146 commit 6877146f1781bfbd4ec3ae2a27121a606f5f688e
Why is this commit not showing in the log when I checked the wizard? He has already merged with the master:
$ git checkout master $ git merge 6877146 Already up-to-date. $
source share