From b8ac3f143be8ee8ad29d9fa5586cca5767776584 Mon Sep 17 00:00:00 2001 From: Sorin Sbarnea Date: Wed, 4 Dec 2019 10:11:31 +0000 Subject: Avoid git warnings by using detach on checkout Git displays a huge and confusing warning when doing a checkout of a specific commit if the --detach option is not mentioned. This cleans up our build logs, making it easier to spot real problems. Signed-off-by: Sorin Sbarnea --- .copr/prepare.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.copr/prepare.sh') diff --git a/.copr/prepare.sh b/.copr/prepare.sh index 713cdc2ee..d5a9a7f85 100644 --- a/.copr/prepare.sh +++ b/.copr/prepare.sh @@ -34,6 +34,6 @@ if [ ! -d conmon ]; then git clone -n --quiet https://github.com/containers/conmon fi pushd conmon -git checkout 6f3572558b97bc60dd8f8c7f0807748e6ce2c440 +git checkout --detach 6f3572558b97bc60dd8f8c7f0807748e6ce2c440 git archive --prefix "conmon/" --format "tar.gz" HEAD -o "../build/conmon.tar.gz" popd -- cgit v1.2.3-54-g00ecf