From 068b4746b07bb699d4f782aba485265f81eb0071 Mon Sep 17 00:00:00 2001 From: Benjamin Valentin Date: Mon, 17 Mar 2014 16:18:29 +0100 Subject: [PATCH] silence git warning about detached head use reset --hard to check out the desired revision --- pkg/oonf_api/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/oonf_api/Makefile b/pkg/oonf_api/Makefile index 826f84b4ba..aa27fce085 100644 --- a/pkg/oonf_api/Makefile +++ b/pkg/oonf_api/Makefile @@ -31,7 +31,7 @@ $(CURDIR)/$(PKG_NAME)/Makefile: $(CURDIR)/$(PKG_NAME) $(CURDIR)/$(PKG_NAME)/: git clone $(PKG_URL) $@ && \ - cd $@ && git checkout $(PKG_VERSION) + cd $@ && git reset --hard $(PKG_VERSION) clean:: # Reset package to checkout state.