File tree 5 files changed +80
-0
lines changed
5 files changed +80
-0
lines changed Original file line number Diff line number Diff line change 1
1
.gitattributes export-ignore
2
+ .hooks * export-ignore
2
3
3
4
bootstrap crlf =input
4
5
configure crlf =input
Original file line number Diff line number Diff line change
1
+ # =============================================================================
2
+ # CMake - Cross Platform Makefile Generator
3
+ # Copyright 2000-2011 Kitware, Inc., Insight Software Consortium
4
+ #
5
+ # Distributed under the OSI-approved BSD License (the "License");
6
+ # see accompanying file Copyright.txt for details.
7
+ #
8
+ # This software is distributed WITHOUT ANY WARRANTY; without even the
9
+ # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
10
+ # See the License for more information.
11
+ # =============================================================================
12
+
13
+ # Loaded by .git/hooks/(pre-commit|commit-msg|prepare-commit-msg)
14
+ # during git commit after local hooks have been installed.
15
+
16
+ hooks_chain_pre_commit=" Utilities/Git/pre-commit"
17
+ hooks_chain_commit_msg=" Utilities/Git/commit-msg"
18
+ hooks_chain_prepare_commit_msg=" Utilities/Git/prepare-commit-msg"
Original file line number Diff line number Diff line change
1
+ #! /usr/bin/env bash
2
+ # =============================================================================
3
+ # CMake - Cross Platform Makefile Generator
4
+ # Copyright 2000-2011 Kitware, Inc., Insight Software Consortium
5
+ #
6
+ # Distributed under the OSI-approved BSD License (the "License");
7
+ # see accompanying file Copyright.txt for details.
8
+ #
9
+ # This software is distributed WITHOUT ANY WARRANTY; without even the
10
+ # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
11
+ # See the License for more information.
12
+ # =============================================================================
13
+
14
+ die () {
15
+ echo ' commit-msg hook failure' 1>&2
16
+ echo ' -----------------------' 1>&2
17
+ echo ' ' 1>&2
18
+ echo " $@ " 1>&2
19
+ exit 1
20
+ }
21
+
22
+ # This is a placeholder for future commit-msg checks.
23
+ exit 0
Original file line number Diff line number Diff line change
1
+ #! /usr/bin/env bash
2
+ # =============================================================================
3
+ # CMake - Cross Platform Makefile Generator
4
+ # Copyright 2000-2011 Kitware, Inc., Insight Software Consortium
5
+ #
6
+ # Distributed under the OSI-approved BSD License (the "License");
7
+ # see accompanying file Copyright.txt for details.
8
+ #
9
+ # This software is distributed WITHOUT ANY WARRANTY; without even the
10
+ # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
11
+ # See the License for more information.
12
+ # =============================================================================
13
+
14
+ die () {
15
+ echo ' pre-commit hook failure' 1>&2
16
+ echo ' -----------------------' 1>&2
17
+ echo ' ' 1>&2
18
+ echo " $@ " 1>&2
19
+ exit 1
20
+ }
21
+
22
+ # This is a placeholder for future pre-commit checks.
23
+ exit 0
Original file line number Diff line number Diff line change
1
+ #! /usr/bin/env bash
2
+ # =============================================================================
3
+ # CMake - Cross Platform Makefile Generator
4
+ # Copyright 2000-2011 Kitware, Inc., Insight Software Consortium
5
+ #
6
+ # Distributed under the OSI-approved BSD License (the "License");
7
+ # see accompanying file Copyright.txt for details.
8
+ #
9
+ # This software is distributed WITHOUT ANY WARRANTY; without even the
10
+ # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
11
+ # See the License for more information.
12
+ # =============================================================================
13
+
14
+ # This is a placeholder for future prepare-commit-msg hooks.
15
+ exit 0
You can’t perform that action at this time.
0 commit comments