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, master has been updated
       via  43fe736b2bf272647fb24b481bdc9a585c0666ac (commit)
       via  64aeb520cad530924e1e98582acca24594f3fd4b (commit)
      from  ee692e8fdba5bb3c02d2f248a139e87cf10fef56 (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=43fe736b2bf272647fb24b481bdc9a585c0666ac
commit 43fe736b2bf272647fb24b481bdc9a585c0666ac
Merge: ee692e8 64aeb52
Author:     Brad King <brad.k...@kitware.com>
AuthorDate: Tue Aug 20 14:18:01 2019 +0000
Commit:     Kitware Robot <kwro...@kitware.com>
CommitDate: Tue Aug 20 10:18:20 2019 -0400

    Merge topic 'bash-completion-silent-D-lookup'
    
    64aeb520ca bash-completion: silent cmake -D lookup
    
    Acked-by: Kitware Robot <kwro...@kitware.com>
    Merge-request: !3692


https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=64aeb520cad530924e1e98582acca24594f3fd4b
commit 64aeb520cad530924e1e98582acca24594f3fd4b
Author:     Felix Schwitzer <felix.schwit...@gmx.at>
AuthorDate: Sat Aug 17 01:04:54 2019 +0200
Commit:     Felix Schwitzer <felix.schwit...@gmx.at>
CommitDate: Sat Aug 17 01:04:54 2019 +0200

    bash-completion: silent cmake -D lookup
    
    The completion for -D tries to read the cache via 'cmake -LA -N', but this
    prints a warning.  Silent the lookup by redirecting this warning to null.

diff --git a/Auxiliary/bash-completion/cmake b/Auxiliary/bash-completion/cmake
index 638b1c4..d8d2c86 100644
--- a/Auxiliary/bash-completion/cmake
+++ b/Auxiliary/bash-completion/cmake
@@ -76,8 +76,8 @@ _cmake()
                 compopt -o nospace
             else
             # complete variable names
-                COMPREPLY=( $( compgen -W '$( cmake -LA -N | tail -n +2 |
-                    cut -f1 -d: )' -P "$prefix" -- "$cur" ) )
+                COMPREPLY=( $( compgen -W '$( cmake -LA -N 2>/dev/null |
+                    tail -n +2 | cut -f1 -d: )' -P "$prefix" -- "$cur" ) )
                 compopt -o nospace
             fi
             return

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

Summary of changes:
 Auxiliary/bash-completion/cmake | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
CMake
_______________________________________________
Cmake-commits mailing list
Cmake-commits@cmake.org
https://cmake.org/mailman/listinfo/cmake-commits

Reply via email to