Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Passwd regex #1

Closed
ghost opened this issue Jan 7, 2013 · 0 comments
Closed

Passwd regex #1

ghost opened this issue Jan 7, 2013 · 0 comments

Comments

@ghost
Copy link

ghost commented Jan 7, 2013

WARNING:
I try to add my vim configuration to gyc.

Following files match case insensitive 'pass|passwd|password':

home/user/.vim/after/syntax/__fxhlsl.vim
home/user/.vim/after/syntax/hlsl.vim
home/user/.vim/autoload/genutils.vim
home/olivaa/.vim/autoload/pythoncomplete.vim
home/olivaa/.vim/doc/EnhancedCommentify.txt
home/olivaa/.vim/doc/crefvim.txt
home/olivaa/.vim/doc/crefvimdoc.txt
home/olivaa/.vim/doc/lookupfile.txt
home/olivaa/.vim/doc/matchit.txt
home/olivaa/.vim/doc/taglist.txt
home/olivaa/.vim/doc/tags home/olivaa/.vim/doc/visincr.txt
home/olivaa/.vim/ftplugin/html/zencoding.vim
home/olivaa/.vim/plugin/DirDiff.vim
home/olivaa/.vim/plugin/cmdline-complete.vim
home/olivaa/.vim/plugin/exMacroHighlight.vim
home/olivaa/.vim/plugin/genutils.vim
home/olivaa/.vim/plugin/lookupfile.vim
home/olivaa/.vim/plugin/matchit.vim
home/olivaa/.vim/plugin/minibufexpl.vim
home/olivaa/.vim/plugin/taglist.vim
home/olivaa/.vim/plugin/visual_studio.py
home/olivaa/.vim/plugin/visual_studio.vim
grep: home/olivaa/.vim/after/syntax/__fxhlsl.vim
home/olivaa/.vim/after/syntax/hlsl.vim
home/olivaa/.vim/autoload/genutils.vim
home/olivaa/.vim/autoload/pythoncomplete.vim
home/olivaa/.vim/doc/EnhancedCommentify.txt
home/olivaa/.vim/doc/crefvim.txt
home/olivaa/.vim/doc/crefvimdoc.txt
home/olivaa/.vim/doc/lookupfile.txt
home/olivaa/.vim/doc/matchit.txt
home/olivaa/.vim/doc/taglist.txt
home/olivaa/.vim/doc/tags
home/olivaa/.vim/doc/visincr.txt
home/olivaa/.vim/ftplugin/html/zencoding.vim
home/olivaa/.vim/plugin/DirDiff.vim
home/olivaa/.vim/plugin/cmdline-complete.vim
home/olivaa/.vim/plugin/exMacroHighlight.vim
home/olivaa/.vim/plugin/genutils.vim
home/olivaa/.vim/plugin/lookupfile.vim
home/olivaa/.vim/plugin/matchit.vim
home/olivaa/.vim/plugin/minibufexpl.vim
home/olivaa/.vim/plugin/taglist.vim
home/olivaa/.vim/plugin/visual_studio.py
home/olivaa/.vim/plugin/visual_studio.vim: No such file or directory

Added files may contain a cleartext password

Protection can be bypassed by adding
--no-verify option to commit

I don't know how to correctly manage files with problematic lines
So if you have ideas, please tell on the github page


Some file contains word password, passwd or pass and I'm ok with the warning. But
in other files, I have for example the following text:
" Find the window number for the buffer passed.

I propose to append [^a-zA-Z] at the end of Warning regex to avoid false positive result like passed.

@cladmi cladmi closed this as completed in 477b6f1 Jan 7, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant