]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
cmake: silence "detached HEAD" warning 36778/head
authorKefu Chai <kchai@redhat.com>
Tue, 25 Aug 2020 04:34:15 +0000 (12:34 +0800)
committerKefu Chai <kchai@redhat.com>
Tue, 25 Aug 2020 04:38:03 +0000 (12:38 +0800)
commit47b76ce24e8241b535c76c57dec8daf98495446f
treebc676e8154c9843ec99a909dfc7aff77d4ecc7a3
parent5fbfeaadba7a2e5d0538a16c2fad39dc9d74c55b
cmake: silence "detached HEAD" warning

git complains when checking out a tag in "detached HEAD", like:

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them
...

but this does not help, as, in general, we don't hack fio in Ceph,
so disable this warning. and also clone the repo in shallow mode
for the same reason -- we don't care about the whole history of
fio repo. we just use it for testing.

Signed-off-by: Kefu Chai <kchai@redhat.com>
cmake/modules/BuildFIO.cmake