]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
doc,tests: force checkout of submodules 3895/head
authorLoic Dachary <ldachary@redhat.com>
Fri, 6 Mar 2015 16:08:55 +0000 (17:08 +0100)
committerLoic Dachary <ldachary@redhat.com>
Fri, 6 Mar 2015 16:16:46 +0000 (17:16 +0100)
commit3a8b8284ddd17ad5c6e27347433cdde6744d0737
tree2ee72be8b94adbc937d89219a396f94ca9e0e97d
parent75abe378fcedfbce11d044dfdb2e0f1661d489f5
doc,tests: force checkout of submodules

When updating submodules, always checkout even if the HEAD is the
desired commit hash (update --force) to avoid the following:

* a directory gmock exists in hammer
* a submodule gmock replaces the directory gmock in master
* checkout master + submodule update : gmock/.git is created
* checkout hammer : the gmock directory still contains the .git from
  master because it did not exist at the time and checkout won't
  remove untracked directories
* checkout master + submodule update : git rev-parse HEAD is
  at the desired commit although the content of the gmock directory
  is from hammer

Signed-off-by: Loic Dachary <ldachary@redhat.com>
autogen.sh
doc/dev/release-process.rst
doc/install/clone-source.rst
src/test/docker-test-helper.sh