Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ jobs:
# Other pre-commit checks

set +e
pre-commit run --color=always --all-files
pre-commit run --color=always --all-files --show-diff-on-failure
((rc+=$?))
set -e

Expand Down
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ repos:
stages: [commit-msg]

- repo: https://github.com/scop/pre-commit-shfmt
rev: v3.4.3-1
rev: v3.5.1-1
hooks:
- id: shfmt-docker
types: [text]
Expand Down
3 changes: 1 addition & 2 deletions completions/tar
Original file line number Diff line number Diff line change
Expand Up @@ -383,8 +383,7 @@ __tar_adjust_PREV_from_old_option()
# deal with old style arguments here
# $ tar cfTC # expects this sequence of arguments:
# $ tar cfTC ARCHIVE_FILE PATTERNS_FILE CHANGE_DIR
if ((old_opt_used == 1 && cword > 1 && \
cword < ${#old_opt_parsed[@]} + 2)); then
if ((old_opt_used == 1 && cword > 1 && cword < ${#old_opt_parsed[@]} + 2)); then
# make e.g. 'C' option from 'cffCT'
prev="-${old_opt_parsed[cword - 2]}"
fi
Expand Down