Skip to content

Commit

Permalink
Fix retrofit-worktree
Browse files Browse the repository at this point in the history
  • Loading branch information
kwankyu committed Feb 18, 2025
1 parent 35f10f9 commit 401eca0
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .ci/retrofit-worktree.sh
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,4 @@ if [ ! -f $WORKTREE_NAME/.gitignore ]; then cp .gitignore $WORKTREE_NAME/; fi
(cd $WORKTREE_NAME && git add -A && git commit --quiet --allow-empty -m "old" && git tag -f old)
# Then we update the worktree and index with "git checkout new". (This keeps modification times of "old" files
# and makes modification times of "new" files newer, which triggers incremental build.)
(cd $WORKTREE_NAME && git checkout -f new && \
# For unknown reason, "build/" directory is untracked by git. Hence we force
# it tracked, to avoid removal of "build/make/Makefile" by "git clean -fd"
git add build/ && git clean -fd)
(cd $WORKTREE_NAME && git checkout -f new && git clean -f)

0 comments on commit 401eca0

Please sign in to comment.