ai/at
1
0

fix social-app ios patch

This commit is contained in:
2025-12-09 12:39:42 +09:00
parent 5b21fc6cac
commit 25b6b39532
10 changed files with 296 additions and 54 deletions

View File

@@ -100,6 +100,10 @@ function at-repos-pull() {
echo $repo
if [ -d $d/repos/${repo##*/} ];then
cd $d/repos/${repo##*/}
# Clean up before pull: reset changes, remove .orig files and untracked patch-created files
git checkout -- .
find . -name "*.orig" -type f -delete 2>/dev/null
git clean -fd 2>/dev/null
git stash -u
if ! git pull;then
rm -rf $d/repos/${repo##*/}