From 0c0c6c8b18f537a5cf1bf308ec7c4838c1347f9f Mon Sep 17 00:00:00 2001 From: Tobias Dreyer Date: Fri, 25 May 2012 22:31:01 +0200 Subject: [PATCH] bee-download: fix mix-up of 'git reset' and 'git checkout' --- src/bee-download.sh.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bee-download.sh.in b/src/bee-download.sh.in index b9b83c5..199b41f 100644 --- a/src/bee-download.sh.in +++ b/src/bee-download.sh.in @@ -116,7 +116,7 @@ function download_git() { cd ${tmp_path}/${reponame} if [ -n "${OPT_COMMIT}" ] ; then - git reset ${OPT_COMMIT} >/dev/null 2>&1 + git checkout ${OPT_COMMIT} >/dev/null 2>&1 fi gd=$(git describe --tags --long --always)