function! Powerline#Functions#fugitive#GetBranch(symbol) " {{{
	let ret = fugitive#statusline()

	let ret = substitute(ret, '\v\[?GIT\(([a-z0-9\-_\./:]+)\)\]?', a:symbol .' \1', 'gi')

	return ret
endfunction " }}}

function! Powerline#Functions#fugitive#GetBranch(symbol) " {{{
	let ret = fugitive#statusline()

	let ret = substitute(ret, '\c\v\[?GIT\(([a-z0-9\-_\./:]+)\)\]?', a:symbol .' \1', 'g')

	return ret
endfunction " }}}

Fix Fugitive statusline segment not working with ignorecase on
Fix Fugitive statusline segment not working with ignorecase on

With ignorecase on, the Fugitive statusline segment fails to turn the
[Git(...)] statusline into flags because vim's substitute does not take
the 'i' flag.

This commit fixes the Fugitive statusline flag regex to specify case
sensitivity in the pattern itself.

Closes #77.

iff/dotfiles-old,iff/dotfiles-old