]> source.dussan.org Git - gitea.git/commit
Default values for both user.name and user.email
authoreuank <euank@euank.com>
Sun, 28 Dec 2014 03:07:54 +0000 (19:07 -0800)
committereuank <euank@euank.com>
Sun, 28 Dec 2014 03:07:54 +0000 (19:07 -0800)
commit234a7c19a4a59632dadaf430ab2431dccc0d74a9
treea91530ed5feac706191221d74a0f46e05384ebae
parent46742a79cacb3db50e95907a2dda0ef3cc8b05f2
Default values for both user.name and user.email

The previous behavior was to set default values only if user.name was
not set, but to always set it for both. This only sets a value if there
wasn't one; this fixes cases where someone has a user.name but no
user.email (see included Dockerfile) or someone has a user.email but no
user.name (before the email would have been over-written).
models/repo.go