File tree Expand file tree Collapse file tree 3 files changed +3
-4
lines changed Expand file tree Collapse file tree 3 files changed +3
-4
lines changed Original file line number Diff line number Diff line change 6767 # Other pre-commit checks
6868
6969 set +e
70- pre-commit run --color=always --all-files
70+ pre-commit run --color=always --all-files --show-diff-on-failure
7171 ((rc+=$?))
7272 set -e
7373
Original file line number Diff line number Diff line change 99 stages : [commit-msg]
1010
1111 - repo : https://github.com/scop/pre-commit-shfmt
12- rev : v3.4.3 -1
12+ rev : v3.5.1 -1
1313 hooks :
1414 - id : shfmt-docker
1515 types : [text]
Original file line number Diff line number Diff line change @@ -383,8 +383,7 @@ __tar_adjust_PREV_from_old_option()
383383 # deal with old style arguments here
384384 # $ tar cfTC # expects this sequence of arguments:
385385 # $ tar cfTC ARCHIVE_FILE PATTERNS_FILE CHANGE_DIR
386- if (( old_opt_used == 1 && cword > 1 && \
387- cword < ${# old_opt_parsed[@]} + 2 )) ; then
386+ if (( old_opt_used == 1 && cword > 1 && cword < ${# old_opt_parsed[@]} + 2 )) ; then
388387 # make e.g. 'C' option from 'cffCT'
389388 prev=" -${old_opt_parsed[cword - 2]} "
390389 fi
You can’t perform that action at this time.
0 commit comments