[Webkit-unassigned] [Bug 95177] check-webkit-style fails when WebKit is in a Git submodule

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Aug 29 11:38:01 PDT 2012


https://bugs.webkit.org/show_bug.cgi?id=95177





--- Comment #9 from Kevin Funk <kevin.funk at kdab.com>  2012-08-29 11:38:04 PST ---
Just checked again: In Qt5's qtwebkit submodule there is a *file* named ".git" which breaks the assumed behaviour. Reading out the file yields:

$ cat qtwebkit/.git
gitdir: ../.git/modules/qtwebkit

So git rev-parse --git-dir within qtwebkit will refer to "../.git/modules/qtwebkit" (hard-coded).

I am not entirely sure, but I think the reason for doing this is to share the Git history between several submodules (there are at least "qtwebkit" and "qtwebkit1" registered as submodules).

So, Dirk, you are probably right. In normal cases --git-dir works fine, but not with that "separate-git-dir" feature used within qtwebkit.

Reference: http://www.kernel.org/pub/software/scm/git/docs/git-init.html - '--separate-git-dir'

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the webkit-unassigned mailing list