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

:PlugStatus reports that all plugins require PlugClean if $GIT_CONFIG set #455

Closed
4 of 11 tasks
zblach opened this issue Mar 29, 2016 · 3 comments
Closed
4 of 11 tasks
Labels

Comments

@zblach
Copy link

zblach commented Mar 29, 2016

If I have GIT_CONFIG to point to a custom git configuration file, all plugins report requiring a PlugClean operation. If I unset this shell variable and restart vim, everything is fine.

Plugins can be installed successfully with this variable set.


:version                                                                                                                                                                                                                                       
VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Apr 10 2015 13:22:49)                                                                                                                                                                             
Included patches: 1-692                                                                                                                                                                                                                        
Compiled by My Name                                                                                                                                                                                                                        
Normal version with GTK2 GUI.  Features included (+) or not (-):                                                                                                                                                                               
+acl             +clientserver    -cscope          -emacs_tags      +folding         -keymap          +menu            -mouse_netterm   +netbeans_intg   -python3         -sniff           -tcl             +virtualedit     +writebackup      
-arabic          +clipboard       +cursorbind      +eval            -footer          -langmap         +mksession       -mouse_sgr       +path_extra      +quickfix        +startuptime     +terminfo        +visual          +X11              
+autocmd         +cmdline_compl   +cursorshape     +ex_extra        +fork()          +libcall         +modify_fname    -mouse_sysmouse  -perl            +reltime         +statusline      +termresponse    +visualextra     -xfontset         
+balloon_eval    +cmdline_hist    +dialog_con_gui  +extra_search    +gettext         +linebreak       +mouse           -mouse_urxvt     +persistent_undo -rightleft       -sun_workshop    +textobjects     +viminfo         +xim              
+browse          +cmdline_info    +diff            -farsi           -hangul_input    +lispindent      +mouseshape      +mouse_xterm     +postscript      +ruby            +syntax          +title           +vreplace        +xsmp_interact    
+builtin_terms   +comments        +digraphs        +file_in_path    +iconv           +listcmds        -mouse_dec       +multi_byte      +printer         +scrollbind      +tag_binary      +toolbar         +wildignore      +xterm_clipboard  
+byte_offset     -conceal         +dnd             +find_in_path    +insert_expand   +localmap        -mouse_gpm       +multi_lang      -profile         +signs           +tag_old_static  +user_commands   +wildmenu        -xterm_save       
+cindent         +cryptv          -ebcdic          +float           +jumplist        +lua             -mouse_jsbterm   -mzscheme        +python          +smartindent     -tag_any_white   +vertsplit       +windows         -xpm              
   system vimrc file: "$VIM/vimrc"                                                                                                                                                                                                             
     user vimrc file: "$HOME/.vimrc"                                                                                                                                                                                                           
 2nd user vimrc file: "~/.vim/vimrc"                                                                                                                                                                                                           
      user exrc file: "$HOME/.exrc"                                                                                                                                                                                                            
  system gvimrc file: "$VIM/gvimrc"                                                                                                                                                                                                            
    user gvimrc file: "$HOME/.gvimrc"                                                                                                                                                                                                          
2nd user gvimrc file: "~/.vim/gvimrc"                                                                                                                                                                                                          
    system menu file: "$VIMRUNTIME/menu.vim"                                                                                                                                                                                                   
  fall-back for $VIM: "/usr/local/share/vim"                                                                                                                                                                                                   
Compilation: gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include 
-I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12     -g -O2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1                                                                                                                      
Linking: gcc   -L.  -rdynamic -Wl,-export-dynamic  -L/usr/local/lib -Wl,--as-needed -o vim   -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgob
ject-2.0 -lgmodule-2.0 -lglib-2.0   -lSM -lICE -lXt -lX11 -lSM -lICE  -lm -ltinfo -lnsl  -lselinux   -L/usr/lib -lluajit-5.1  -L/usr/lib64/python2.6/config -lpython2.6 -lpthread -ldl -lutil -lm -Xlinker -export-dynamic   -Wl,-R -Wl,/export
/apps/xtools/lib -L/export/apps/xtools/lib -lruby-static -lpthread -lrt -ldl -lcrypt -lm  -L/export/apps/xtools/lib 
  • Type:
    • Bug
    • Enhancement
    • Feature Request
    • Question
  • OS:
    • All/Other
    • Linux
    • OS X
    • Windows
  • Vim:
    • Terminal Vim
    • GVim
    • Neovim
@junegunn junegunn added the bug label Mar 30, 2016
@junegunn
Copy link
Owner

Thanks for the report. Looks like we have to make sure that git config is looking at the right file by using -f .git/config option.

@junegunn
Copy link
Owner

Fixed it. Let me know if you see any issues. Thanks.

@zblach
Copy link
Author

zblach commented Mar 30, 2016

Looks like it's working. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants