mirror of
https://github.com/amix/vimrc
synced 2025-06-16 01:25:00 +08:00
Updated plugins. Switched to Ack as standard search tool (much better than grep/vimgrep)
This commit is contained in:
@ -136,6 +136,9 @@ function! fugitive#extract_git_dir(path) abort
|
||||
" checking for them since such checks are extremely slow.
|
||||
break
|
||||
endif
|
||||
if index(split($GIT_CEILING_DIRECTORIES, ':'), root) >= 0
|
||||
break
|
||||
endif
|
||||
let dir = s:sub(root, '[\/]$', '') . '/.git'
|
||||
let type = getftype(dir)
|
||||
if type ==# 'dir' && fugitive#is_git_dir(dir)
|
||||
|
Reference in New Issue
Block a user