diff options
author | Bram Moolenaar <Bram@vim.org> | 2008-08-06 17:06:04 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2008-08-06 17:06:04 +0000 |
commit | e37d50a5def1c0ff162392cd3f017059c458650c (patch) | |
tree | e7d1e2b17976b130d1283d33b091baf30cfc5d2c /runtime/ftplugin/git.vim | |
parent | da40c8536c2b7bdbd1d192ee1aa3045e2119675e (diff) |
updated for version 7.2c-000v7.2c.000
Diffstat (limited to 'runtime/ftplugin/git.vim')
-rw-r--r-- | runtime/ftplugin/git.vim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/ftplugin/git.vim b/runtime/ftplugin/git.vim index f8d331faf5..9ac1aa1517 100644 --- a/runtime/ftplugin/git.vim +++ b/runtime/ftplugin/git.vim @@ -1,7 +1,7 @@ " Vim filetype plugin " Language: generic git output " Maintainer: Tim Pope <vimNOSPAM@tpope.info> -" Last Change: 2008 Jun 20 +" Last Change: 2008 Jul 30 " Only do this when not done yet for this buffer if (exists("b:did_ftplugin")) @@ -22,7 +22,7 @@ endif if exists('*shellescape') && exists('b:git_dir') && b:git_dir != '' if b:git_dir =~# '/\.git$' " Not a bare repository - let &l:path = escape(fnamemodify(b:git_dir,':t'),'\, ').','.&l:path + let &l:path = escape(fnamemodify(b:git_dir,':h'),'\, ').','.&l:path endif let &l:path = escape(b:git_dir,'\, ').','.&l:path let &l:keywordprg = 'git --git-dir='.shellescape(b:git_dir).' show' |