Revert "Prepare git src with git worktree
"
This causes issues when repeatedly building a package using the same
git checkout. There is also ambiguity of the default checkout when
trying to build from HEAD. See #142 and #143.
This reverts commit 85c421f1cb
.
This commit is contained in:
parent
0f2417f919
commit
76e1cb1bf1
1 changed files with 1 additions and 1 deletions
|
@ -100,7 +100,7 @@ extract_git() {
|
|||
exit 1
|
||||
fi
|
||||
cd_safe "$srcdir"
|
||||
elif ! git -C "$dir" worktree add --force "${srcdir}/${dir##*/}"; then
|
||||
elif ! git clone --origin=origin -s "$dir" "${dir##*/}"; then
|
||||
error "$(gettext "Failure while creating working copy of %s %s repo")" "${repo}" "git"
|
||||
plainerr "$(gettext "Aborting...")"
|
||||
exit 1
|
||||
|
|
Loading…
Add table
Reference in a new issue