Re: Can't understand the behaviour of git-diff --submodule
- From
- Francis Moreau <francis.moro@gmail.com>
- Date
- Oct 26, 2012, 20:43 UTC
- Message-ID
- <CAC9WiBhZWJihPToMawPCxEVkTKL0e-GzUw3qneJMUx-WqSNbjw@mail.gmail.com>
- In-Reply-To
- <508AED26.3090805@web.de>
On Fri, Oct 26, 2012 at 10:05 PM, Jens Lehmann <Jens.Lehmann@web.de> wrote: [...]
Show 6 quoted lines
> > That is weird, "git diff --submodule" should show that too. Is there > anything unusual about your setup? (The only explanation I can come > up with after checking the code is that your submodule has neither a > .git directory nor a gitfile or the objects directory in there doesn't > contain these commits)
Oh now you're asking, I think the submodule has been added by using the --reference option of git-submodule-add.
$ cd configs $ cat .git gitdir: ../.git/modules/configs
Thanks
-- Francis