summaryrefslogtreecommitdiff
path: root/Utilities/Git
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2012-10-05 10:01:14 -0400
committerBrad King <brad.king@kitware.com>2012-10-05 10:02:28 -0400
commit97c98876b715dd954b4ce744a1a86d1d14e6ab9d (patch)
treec40ec3cdcc91c902a5477b1ecf77459e261cc170 /Utilities/Git
parent3db0b51474e6f992b0fad12617787e8152a885cd (diff)
downloadcmake-97c98876b715dd954b4ce744a1a86d1d14e6ab9d.tar.gz
pre-commit: Update KWSys rejection message for new workflow
KWSys is now kept in its own Git repository. We manually extract snapshots of KWSys versions to update the Source/kwsys directory.
Diffstat (limited to 'Utilities/Git')
-rwxr-xr-xUtilities/Git/pre-commit14
1 files changed, 6 insertions, 8 deletions
diff --git a/Utilities/Git/pre-commit b/Utilities/Git/pre-commit
index 110e9ee350..aa248d18e8 100755
--- a/Utilities/Git/pre-commit
+++ b/Utilities/Git/pre-commit
@@ -27,18 +27,16 @@ if test -z "$HOOKS_ALLOW_KWSYS"; then
'"$(echo "$files" | sed 's/^/ /')"'
-cannot be committed through Git. KWSys is kept in a CVS repository
-shared by several projects. A robot replays changes committed there
-into the Source/kwsys directory in CMake. Please send changes to
-this directory separately. Run
+should not be made directly in CMake. KWSys is kept in its own Git
+repository and shared by several projects. Please visit
- git reset HEAD -- Source/kwsys
+ http://public.kitware.com/Wiki/KWSys/Git
-to unstage these changes and then
+to contribute changes directly to KWSys. Run
- git diff -- Source/kwsys > kwsys.patch
+ git reset HEAD -- Source/kwsys
-to construct the patch. Alternatively, set environment variable
+to unstage these changes. Alternatively, set environment variable
HOOKS_ALLOW_KWSYS=1