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.
This commit is contained in:
Brad King 2012-10-05 10:01:14 -04:00
parent 3db0b51474
commit 97c98876b7
1 changed files with 7 additions and 9 deletions

View File

@ -27,18 +27,16 @@ if test -z "$HOOKS_ALLOW_KWSYS"; then
'"$(echo "$files" | sed 's/^/ /')"' '"$(echo "$files" | sed 's/^/ /')"'
cannot be committed through Git. KWSys is kept in a CVS repository should not be made directly in CMake. KWSys is kept in its own Git
shared by several projects. A robot replays changes committed there repository and shared by several projects. Please visit
into the Source/kwsys directory in CMake. Please send changes to
this directory separately. Run http://public.kitware.com/Wiki/KWSys/Git
to contribute changes directly to KWSys. Run
git reset HEAD -- Source/kwsys git reset HEAD -- Source/kwsys
to unstage these changes and then to unstage these changes. Alternatively, set environment variable
git diff -- Source/kwsys > kwsys.patch
to construct the patch. Alternatively, set environment variable
HOOKS_ALLOW_KWSYS=1 HOOKS_ALLOW_KWSYS=1