Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
git: Remove usage of git symbolic-ref.
Not 100% sure why we were doing this before, but as of git/git@9081a42 this is causing Git to return this error when trying to call `git checkout -f FETCH_HEAD`: ``` BUG: builtin/checkout.c:1102: should be able to skip past 'refs/heads/' in 'refs/remotes/origin/HEAD'! ``` IIUC, the symbolic-ref command isn't necessary so we can safely remove it. Local HEAD will be set on the final `git checkout` call. New command flow: ``` [git init /tmp/git-init-3587814010] [git remote add origin /tmp/git-init-3399927535] [git config http.sslVerify false] [git fetch origin --force ] [git show -q --pretty=format:%H FETCH_HEAD] [git checkout -f FETCH_HEAD] ```
- Loading branch information