Martin Waitz <tali@admingilde.org> writes:Because 'submodule' is a project on its own, it can make progress while the parent project is still using the stable commit. Think of this: - Your application uses product of another project as a library (e.g. you are doing video application and embedding ffmpeg). - Your 'master' commit records a commit in the library subproject. Maybe library subproject declared stable 1.0 and that is what you used to integrate. - But being an independent project on its own, the library project can make progress, outside the context of this aggregated work (i.e. your application). Next time you do: $ cd ffmpeg ; git fetch there may not be any branch that points at the exact "stable 1.0" commit. When you do a "checkout -f --recurse-into-subprojects" from the toplevel, I suspect that you would need to detach HEAD in the subproject repository grafted in your application tree to move it to the exact commit the toplevel project (i.e. your application) wants, and match the working tree to that commit. The toplevel simply should _not_ have to care what branch that commit comes from. - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
| Tarkan Erimer | Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3 |
| Zhang, Yanmin | AIM7 40% regression with 2.6.26-rc1 |
| Andrew Morton | -mm merge plans for 2.6.23 |
| Linus Torvalds | Linux 2.6.27-rc5 |
git: | |
| Gerrit Renker | [PATCH 15/37] dccp: Set per-connection CCIDs via socket options |
| David Miller | Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| Arjan van de Ven | Re: [GIT]: Networking |
| Natalie Protasevich | [BUG] New Kernel Bugs |
