Prechádzať zdrojové kódy

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.
Brad King 13 rokov pred
rodič
commit
97c98876b7
1 zmenil súbory, kde vykonal 6 pridanie a 8 odobranie
  1. 6 8
      Utilities/Git/pre-commit

+ 6 - 8
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