Skip to content

Commit 68b8e97

Browse files
committed
Normalize executable bits and shebangs
If a script has a shebang, it should be executable and if it is a script that is executable it should have a shebang.
1 parent d93b93c commit 68b8e97

File tree

8 files changed

+3
-2
lines changed

8 files changed

+3
-2
lines changed

.fish.rc

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
#!fish
2-
31
#------------------------------------------------------------------------------
42
#
53
# This is the `git-subrepo` initialization script.

.pre-commit-config.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,6 @@ repos:
77
- id: check-illegal-windows-names
88
- id: check-merge-conflict
99
- id: trailing-whitespace
10+
- id: check-executables-have-shebangs
11+
- id: check-shebang-scripts-are-executable
12+
exclude: \.t$

ext/test-more-bash/test/setup

100644100755
File mode changed.

note/recreate-rebase-conflict.sh

100644100755
File mode changed.

note/test-subrepo-push.sh

100644100755
File mode changed.

pkg/bin/generate-completion.pl

100644100755
File mode changed.

pkg/bin/generate-help-functions.pl

100644100755
File mode changed.

test/setup

100644100755
File mode changed.

0 commit comments

Comments
 (0)