Skip to content

Commit

Permalink
Merge commit 'amjith/master'
Browse files Browse the repository at this point in the history
Conflicts:
	plugin/git.vim
  • Loading branch information
motemen committed Sep 8, 2009
2 parents 022fb41 + 4421506 commit cb110a2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugin/git.vim
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ endfunction
function! GitBranch() function! GitBranch()
let git_dir = <SID>GetGitDir() let git_dir = <SID>GetGitDir()


if strlen(git_dir) && filereadable(git_dir . 'HEAD') if strlen(git_dir) && filereadable(git_dir . '/HEAD')
let lines = readfile(git_dir . 'HEAD') let lines = readfile(git_dir . '/HEAD')
if !len(lines) if !len(lines)
return '' return ''
else else
Expand Down

0 comments on commit cb110a2

Please sign in to comment.