|
From: | Janick Bergeron |
Subject: | Re: [Qemu-stable] Stable QEMU branches and submodules |
Date: | Mon, 5 Jun 2017 19:37:57 +0000 |
Turned out to indeed be a GIT issue: when using submodules, do not specify the ‘–remote’ option to the ‘git submodule update’ command as this will cause the submodules to be updated to the latest version on the ‘master’ branch. You want
to stick to the version identified by the SHA-1 saved in the Qemu top project. From: Janick Bergeron I googled and search the mailing list archives to attempt to find an answer my question but I came up empty…. I’m also new to git submodules, so this may be more of a git question than a QEMU question. I want to base my on-going work on a stable version of QEMU. Fine: simply work off the desired stable-Y.X branch in my forked repository. However, it appears that the various submodules are not similarly branched, nor is the QEMU branch
aligned with a specific submodule commit at the time of the branch: Whenever I update or clone my QEMU branch, it fetches the latest commit on the submodule master branch. Is there something I’m missing? Or shouldn’t the submodules in a branch be configured to a specific commit or branch thereof in the .gitmodules file? Maybe working with the latest HEADs in each of the submodule is not a problem, but I like to be able to reliably recreate a particular QEMU build. |
[Prev in Thread] | Current Thread | [Next in Thread] |