[Cmake-commits] CMake branch, next, updated. v3.6.0-rc1-224-g78dddca

Brad King brad.king at kitware.com
Fri Jun 10 10:47:17 EDT 2016


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "CMake".

The branch, next has been updated
       via  78dddcaf7e33e7d70516901699c7315ed53e7eca (commit)
       via  ecc7973fdaa488110cc96cd8377b9fd33ba35185 (commit)
      from  74ee264c0bcd5f5a003cc8e3ebf8f1b38e2ac3e5 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=78dddcaf7e33e7d70516901699c7315ed53e7eca
commit 78dddcaf7e33e7d70516901699c7315ed53e7eca
Merge: 74ee264 ecc7973
Author:     Brad King <brad.king at kitware.com>
AuthorDate: Fri Jun 10 10:47:17 2016 -0400
Commit:     CMake Topic Stage <kwrobot at kitware.com>
CommitDate: Fri Jun 10 10:47:17 2016 -0400

    Merge topic 'bash-completion' into next
    
    ecc7973f Update --help-policy completion with comtemporary cmake tools.


https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=ecc7973fdaa488110cc96cd8377b9fd33ba35185
commit ecc7973fdaa488110cc96cd8377b9fd33ba35185
Author:     Eric NOULARD <eric.noulard at gmail.com>
AuthorDate: Fri Jun 10 16:07:06 2016 +0200
Commit:     Brad King <brad.king at kitware.com>
CommitDate: Fri Jun 10 10:44:24 2016 -0400

    Update --help-policy completion with comtemporary cmake tools.
    
    This was a leftover from previous patch.

diff --git a/Auxiliary/bash-completion/cmake b/Auxiliary/bash-completion/cmake
index 6997d47..6061129 100644
--- a/Auxiliary/bash-completion/cmake
+++ b/Auxiliary/bash-completion/cmake
@@ -132,8 +132,8 @@ _cmake()
             return
             ;;
          --help-policy)
-            COMPREPLY=( $( compgen -W '$( cmake --help-policies 2>/dev/null |
-                grep "^  CMP" 2>/dev/null )' -- "$cur" ) )
+            COMPREPLY=( $( compgen -W '$( cmake --help-policy-list 2>/dev/null |
+                grep -v "^cmake version " )' -- "$cur" ) )
             return
             ;;
          --help-property)
diff --git a/Auxiliary/bash-completion/cpack b/Auxiliary/bash-completion/cpack
index b30df8a..cf5751f 100644
--- a/Auxiliary/bash-completion/cpack
+++ b/Auxiliary/bash-completion/cpack
@@ -59,8 +59,8 @@ _cpack()
             return
             ;;
         --help-policy)
-            COMPREPLY=( $( compgen -W '$( cpack --help-policies 2>/dev/null |
-                grep "^  CMP" 2>/dev/null )' -- "$cur" ) )
+            COMPREPLY=( $( compgen -W '$( cpack --help-policy-list 2>/dev/null |
+                grep -v "^cpack version " )' -- "$cur" ) )
             return
             ;;
         --help-property)
diff --git a/Auxiliary/bash-completion/ctest b/Auxiliary/bash-completion/ctest
index d15cc98..49343bb 100644
--- a/Auxiliary/bash-completion/ctest
+++ b/Auxiliary/bash-completion/ctest
@@ -89,8 +89,8 @@ _ctest()
             return
             ;;
         --help-policy)
-            COMPREPLY=( $( compgen -W '$( ctest --help-policies 2>/dev/null |
-                grep "^  CMP" 2>/dev/null )' -- "$cur" ) )
+            COMPREPLY=( $( compgen -W '$( ctest --help-policy-list 2>/dev/null |
+                grep -v "^ctest version " )' -- "$cur" ) )
             return
             ;;
         --help-property)

-----------------------------------------------------------------------

Summary of changes:
 Auxiliary/bash-completion/cmake |    4 ++--
 Auxiliary/bash-completion/cpack |    4 ++--
 Auxiliary/bash-completion/ctest |    4 ++--
 3 files changed, 6 insertions(+), 6 deletions(-)


hooks/post-receive
-- 
CMake


More information about the Cmake-commits mailing list