Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
set -e
# Retrieve staged files
STAGED_FILES_FILE=$(mktemp)
git diff --cached --name-only > "${STAGED_FILES_FILE}"
git diff --cached --name-only --diff-filter=d > "${STAGED_FILES_FILE}"
# Process the files
%s git-code-format:on-pre-commit -DstagedFilesFile=${STAGED_FILES_FILE} %s
# Add the files to staging again in case they were modified by the process
Expand Down