Skip to content

Commit 5d4883a

Browse files
authored
re-enable git clean as otherwise old patches won't be updated
1 parent b4ff62e commit 5d4883a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

autogit

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ function maincheck() {
238238
git fetch origin &>/dev/null
239239
git checkout origin/"$BRANCH" &>/dev/null
240240
git reset --hard origin/"$BRANCH" &>/dev/null # reset files to how they were before
241-
#git clean -f -d &>/dev/null # clear any other changes you've done
241+
git clean -f -d &>/dev/null # clear any other changes you've done
242242
makepkg --printsrcinfo >"$DIR/packages/$GITDIR/$p"/"$ONLINESRCDIR"/.SRCINFO # print .SRCINFO file for a reliable online pkg update reference
243243
cd "$DIR/packages/$GITDIR/$p" || exit # go to current package directory
244244
else
@@ -316,7 +316,7 @@ function maincheck() {
316316
git fetch origin &>/dev/null
317317
git checkout origin/"$BRANCH" &>/dev/null
318318
git reset --hard origin/"$BRANCH" # reset files to how they were before
319-
#git clean -f -d # clear any other changes you've done
319+
git clean -f -d # clear any other changes you've done
320320
buildoptions
321321
# Check if it's a Git Package to create a log for updating
322322
cd "$DIR/packages/$GITDIR/$p" || exit

0 commit comments

Comments
 (0)