I have customised the output of git-status on my system, for a clean repository it looks like this:
$ git status
## develop...origin/develop
Caused by this config:
[status]
aheadBehind = true
branch = true
short = true
The git-status man page states that, for tools to get a stable output across versions (and apparently configs) the --porcelain flag should be added. The CLI currently uses --short which is not sufficient:
|
cmd := boshsys.Command{ |
|
Name: "git", |
|
Args: []string{"status", "--short"}, |
|
WorkingDir: r.dirPath, |
|
} |
I have customised the output of git-status on my system, for a clean repository it looks like this:
Caused by this config:
The git-status man page states that, for tools to get a stable output across versions (and apparently configs) the
--porcelainflag should be added. The CLI currently uses--shortwhich is not sufficient:bosh-cli/releasedir/git_repo.go
Lines 75 to 79 in 7d923f6