[Interest] Where do all the non-branch files live?

Robin Burchell robin+qt at viroteck.net
Mon Jun 18 20:22:48 CEST 2012


On Mon, Jun 18, 2012 at 8:11 PM, Stephen Chu <stephen at ju-ju.com> wrote:
> When I clone Qt 5 from gitorious, sub-modules like qtbase are not in any
> branch:
>
> stephen-chus-mac-pro:qtbase stephenchu$ git branch
> * (no branch)
>   master
>
> Where are these non-branch files on gitorious? How do they get there?

You'll get this when you check out a given sha directly as opposed to
a branch like 'master'. This is done because qt5.git contains the most
recent shas of all modules known to be good (and work together). This
is called a "detached head" in git terminology.



More information about the Interest mailing list