Skip to content

Unable to create a release when custom git-status output is active #667

@maxmoehl

Description

@maxmoehl

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,
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions