jayvdb added subscribers: jayvdb, Ladsgroup. jayvdb added a comment.
This is definitely compat only, nightly only, and it only occurs when git (or git.cmd) isnt found. in the version detection algorithm, it git isnt found, it tries to use the master ref.
.git/refs/heads/ is also empty in core nightlies, but core's version.py doesnt try to use the refs this way.
@ladsgroup , is the 'master' ref removed in your tarball size optimisations?
TASK DETAIL https://phabricator.wikimedia.org/T87422
REPLY HANDLER ACTIONS Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: jayvdb Cc: Ladsgroup, jayvdb, Aklapper, RansomTime, Anshoe, pywikipedia-bugs