From 3d3c20af66278382d8ab1b4e63e45198834749cd Mon Sep 17 00:00:00 2001 From: Colin Hebert Date: Wed, 14 Mar 2012 22:26:45 +0000 Subject: [PATCH] Git-plugin: Use the porcelain command of git status --- plugins/git/functions/git-info | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/git/functions/git-info b/plugins/git/functions/git-info index 44bcd67e..aa24810c 100644 --- a/plugins/git/functions/git-info +++ b/plugins/git/functions/git-info @@ -206,7 +206,7 @@ function git-info() { _git_info_executing=true # Use short status for easy parsing. - status_cmd='git status --short --branch' + status_cmd='git status --porcelain' # Get remote's name. remote_cmd='git rev-parse --verify HEAD@{upstream} --symbolic-full-name' # Get commits count between the local and the remote branch