tpope/vim-fugitive — pull request #224 by jdeniau (2012-07-11 08:21:56+00:00)
Title: Templating the statusline

Hello,

This pull request allows to "template" the statusline method.
Usually, the statusline show something like "[Git(master)]", you can now add a argument to the method call to change this :

Exemple : %{fugitive#statusline(\"[%status%]\")} will output just : "[master]".

The default value will still be [Git(%status%)]