mirror of
https://github.com/octoleo/syncthing.git
synced 2024-12-23 03:18:59 +00:00
4f367e4376
This adds some env vars to the long version string as if they were build tags. The purpose is to better understand what code was running or not in the version output, usage reporting and crash reports. In order to prevent possible privacy issues the actual value of the variable is not reported, just the fact that it was set to something non-empty. Example: % ./bin/syncthing --version syncthing v1.6.1+47-g1eb104f3-buildtags "Fermium Flea" (go1.14.3 darwin-amd64) jb@kvin.kastelo.net 2020-06-03 07:25:46 UTC [stnoupgrade, use_badger] |
||
---|---|---|
.. | ||
build_test.go | ||
build.go | ||
tags_noupgrade.go | ||
tags_race.go |