mirror of
https://github.com/ceph/ceph
synced 2024-12-27 14:03:25 +00:00
cmake: set advice.detachedHead=false when cloning liburing
silence "detached HEAD" warning like: You are in 'detached HEAD' state. You can look around, make experimental changes and commit them, and you can discard any commits you make in this state without impacting any branches by performing another checkout. If you want to create a new branch to retain commits you create, you may do so (now or later) by using -b with the checkout command again. Example: git checkout -b <new-branch-name> Signed-off-by: Kefu Chai <kchai@redhat.com>
This commit is contained in:
parent
fbf83bb377
commit
504da5d5dd
@ -11,6 +11,7 @@ function(build_uring)
|
||||
GIT_REPOSITORY https://git.kernel.dk/liburing
|
||||
GIT_TAG "liburing-0.7"
|
||||
GIT_SHALLOW TRUE
|
||||
GIT_CONFIG advice.detachedHead=false
|
||||
UPDATE_DISCONNECTED TRUE)
|
||||
endif()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user