Skip to content

Ensure bindata.go is not shown as "unstaged changes" needlessly #498

@vozhyk-

Description

@vozhyk-

This is a follow-up for #496.

bindata.go is regenerated on every make and is added to the repository. This makes it appear as "unstaged changes" after the source is built.

There are 2 ways the problem can be fixed:

  • Removing the file from the repository and adding it to .gitignore (bindata.go is a generated file #496). This isn't desirable because it

    will cause 'go get' to fail since there are no post-go-get hooks that can recreate this file.

  • Making the rule that regenerates the file separate from the all rule and making sure the file is regenerated and committed whenever the data changes
    • with a commit hook?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions