Skip to content

Commit

Permalink
For the track/ignore theme files scripts, using a different git function
Browse files Browse the repository at this point in the history
to ignore (should better reflect our intended idea)
  • Loading branch information
jwyuen committed May 28, 2024
1 parent 92138bb commit e8b634a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion dev-ignore-theme-files.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,6 @@ source install-lib.sh
echo "Adding the following theme files to temporary ignore list for development purposes:"
for file in "${THEME_FILES[@]}"; do
echo "$file"
git update-index --assume-unchanged "$file"
#git update-index --assume-unchanged "$file"
git update-index --skip-worktree "$file"
done
3 changes: 2 additions & 1 deletion dev-track-theme-files.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,6 @@ source install-lib.sh
echo "Removing the following theme files from temporary ignore list:"
for file in "${THEME_FILES[@]}"; do
echo "$file"
git update-index --no-assume-unchanged "$file"
#git update-index --no-assume-unchanged "$file"
git update-index --no-skip-worktree "$file"
done

0 comments on commit e8b634a

Please sign in to comment.