by pcj-github · 4y ago · 0 comments
"The go command now embeds version control information in binaries including the currently checked-out revision, commit time, and a flag indicating whether edited or untracked files are present. Version control information is embedded if the go command is invoked in a directory within a Git, Mercurial, Fossil, or Bazaar repository, and the main package and its containing main module are in the same repository. This information may be omitted using the flag -buildvcs=false."
Curious why this was included.
I mean if you're someone that passes off altered code as official code then yeah it would bother you, I guess. I'm not saying you do that, but I'm sure someone does.