[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] Yet another git submodule rant
From: |
Alexey Kardashevskiy |
Subject: |
Re: [Qemu-devel] Yet another git submodule rant |
Date: |
Thu, 9 Nov 2017 14:02:04 +1100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 |
On 08/11/17 20:57, Thomas Huth wrote:
>
> That automatic git submodule stuff now broke my workflow again. I
> usually keep the git repository on my laptop and then simply rsync the
> sources (without .git directories) to my target machine to compile it
> there. Used to work great for years. Now it's broken, the build process
> complains:
>
> GIT submodule checkout is out of date. Please run
> scripts/git-submodule.sh update
> from the source directory checkout /home/thuth/devel/qemu
>
> Running "scripts/git-submodule.sh update" did not fix the issue at all -
> I first had to tinker with it for a while to find out that I simply have
> to delete ".git-submodule-status" in my git tree to fix the issue.
>
> I've got the feeling that all this submodule crap is constantly causing
> pain ... do we really need this? Can't we find another solution instead?
> Or at least stop modifying files automatically in the $SRC_PATH ?
>
> ... ok, sorry for the harsh words, ... but now that I've written this
> down, I feel at least a little bit better ...
Since there is resistance to add a way to disable changing $SRC_PATH, I
guess the way to go is simply move .git folder outside of source tree and
use $GIT_DIR or --work-dir only when you want git to manage the sources -
this should make $git_submodules empty in ./configure and git-submodule.sh
not to touch anything.
--
Alexey
- Re: [Qemu-devel] Yet another git submodule rant, (continued)
- Re: [Qemu-devel] Yet another git submodule rant, Philippe Mathieu-Daudé, 2017/11/08
- Re: [Qemu-devel] Yet another git submodule rant, Daniel P. Berrange, 2017/11/08
- Re: [Qemu-devel] Yet another git submodule rant, Alexey Kardashevskiy, 2017/11/10
- Re: [Qemu-devel] Yet another git submodule rant, Daniel P. Berrange, 2017/11/10
- Re: [Qemu-devel] Yet another git submodule rant, Alexey Kardashevskiy, 2017/11/10
- Re: [Qemu-devel] Yet another git submodule rant, Peter Maydell, 2017/11/10
- Re: [Qemu-devel] Yet another git submodule rant, Alexey Kardashevskiy, 2017/11/10
- Re: [Qemu-devel] Yet another git submodule rant, Daniel P. Berrange, 2017/11/10
- Re: [Qemu-devel] Yet another git submodule rant, Alexey Kardashevskiy, 2017/11/10
- Re: [Qemu-devel] Yet another git submodule rant, Alexey Kardashevskiy, 2017/11/19
Re: [Qemu-devel] Yet another git submodule rant,
Alexey Kardashevskiy <=