diff options
author | Sorin Sbarnea <ssbarnea@redhat.com> | 2019-12-04 10:11:31 +0000 |
---|---|---|
committer | Sorin Sbarnea <ssbarnea@redhat.com> | 2019-12-04 21:44:11 +0000 |
commit | b8ac3f143be8ee8ad29d9fa5586cca5767776584 (patch) | |
tree | f880f4c892187f615c5e4c1410199c286240a2cf /Makefile | |
parent | 4dbab37e05d7daff858a8b1b968240dcf729d35a (diff) | |
download | podman-b8ac3f143be8ee8ad29d9fa5586cca5767776584.tar.gz podman-b8ac3f143be8ee8ad29d9fa5586cca5767776584.tar.bz2 podman-b8ac3f143be8ee8ad29d9fa5586cca5767776584.zip |
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 <ssbarnea@redhat.com>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -476,7 +476,7 @@ endef if [ ! -x "$(GOBIN)/gometalinter" ]; then \ $(call go-get,github.com/alecthomas/gometalinter); \ cd $(FIRST_GOPATH)/src/github.com/alecthomas/gometalinter; \ - git checkout e8d801238da6f0dfd14078d68f9b53fa50a7eeb5; \ + git checkout --detach e8d801238da6f0dfd14078d68f9b53fa50a7eeb5; \ $(GO) install github.com/alecthomas/gometalinter; \ $(GOBIN)/gometalinter --install; \ fi @@ -498,7 +498,7 @@ varlink_api_generate: .gopathok API.md install.libseccomp.sudo: rm -rf ../../seccomp/libseccomp git clone https://github.com/seccomp/libseccomp ../../seccomp/libseccomp - cd ../../seccomp/libseccomp && git checkout $(LIBSECCOMP_COMMIT) && ./autogen.sh && ./configure --prefix=/usr && make all && make install + cd ../../seccomp/libseccomp && git checkout --detach $(LIBSECCOMP_COMMIT) && ./autogen.sh && ./configure --prefix=/usr && make all && make install cmd/podman/varlink/iopodman.go: cmd/podman/varlink/io.podman.varlink |