https://sourceware.org/bugzilla/show_bug.cgi?id=31800
--- Comment #3 from Rostislav Krasny <rostiprodev at gmail dot com> --- In case you can't guarantee the "core.sharedRepository" configuration property was set properly before the src-release.sh was ran you can, in addition to setting umask in its beginning, also set the "core.sharedRepository" Git configuration property near the umask command and right after that run 'git reset --hard'. You can also add some check that there is no uncommitted changes before the 'git reset --hard' is actually run. Maybe this is the best solution. -- You are receiving this mail because: You are on the CC list for the bug.