Skip to content

Commit

Permalink
Pkg: use git checkout -q HEAD^0 instead of --detach
Browse files Browse the repository at this point in the history
  • Loading branch information
StefanKarpinski committed Nov 8, 2012
1 parent 9374dd3 commit 0eb711a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion base/pkg.jl
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ function _resolve()
url = Metadata.pkg_url(pkg)
run(`git submodule add --reference . $url $pkg`)
cd(pkg) do
run(`git checkout -q --detach`)
run(`git checkout -q HEAD^0`)
run(`git reset --soft $(want[pkg])`)
end
run(`git add -- $pkg`)
Expand Down

0 comments on commit 0eb711a

Please sign in to comment.