Skip to content

Commit

Permalink
re-enable git clean as otherwise old patches won't be updated
Browse files Browse the repository at this point in the history
  • Loading branch information
puxplaying authored May 6, 2023
1 parent b4ff62e commit 5d4883a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions autogit
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ function maincheck() {
git fetch origin &>/dev/null
git checkout origin/"$BRANCH" &>/dev/null
git reset --hard origin/"$BRANCH" &>/dev/null # reset files to how they were before
#git clean -f -d &>/dev/null # clear any other changes you've done
git clean -f -d &>/dev/null # clear any other changes you've done
makepkg --printsrcinfo >"$DIR/packages/$GITDIR/$p"/"$ONLINESRCDIR"/.SRCINFO # print .SRCINFO file for a reliable online pkg update reference
cd "$DIR/packages/$GITDIR/$p" || exit # go to current package directory
else
Expand Down Expand Up @@ -316,7 +316,7 @@ function maincheck() {
git fetch origin &>/dev/null
git checkout origin/"$BRANCH" &>/dev/null
git reset --hard origin/"$BRANCH" # reset files to how they were before
#git clean -f -d # clear any other changes you've done
git clean -f -d # clear any other changes you've done
buildoptions
# Check if it's a Git Package to create a log for updating
cd "$DIR/packages/$GITDIR/$p" || exit
Expand Down

0 comments on commit 5d4883a

Please sign in to comment.