gogits/gogs — pull request #434 by tstorch (2014-09-03 13:01:24+00:00)
Title: Robust User determination

Use go's statndard lib to determine Username.
This prevents hicups in minimal settings where $USER and $USERNAME might not be set.