Skip to content

Commit

Permalink
bee-download: fix mix-up of 'git reset' and 'git checkout'
Browse files Browse the repository at this point in the history
  • Loading branch information
Tobias Dreyer committed May 25, 2012
1 parent 76636e2 commit 0c0c6c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bee-download.sh.in
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 0c0c6c8

Please sign in to comment.