Git-plugin: Use the porcelain command of git status
This commit is contained in:
parent
38937d923d
commit
3d3c20af66
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue