aboutsummaryrefslogtreecommitdiffstats
path: root/libbe/storage/vcs/git.py
diff options
context:
space:
mode:
authorW. Trevor King <wking@drexel.edu>2011-04-14 14:13:36 -0400
committerW. Trevor King <wking@drexel.edu>2011-04-14 14:13:41 -0400
commit28b2fb89784f7a1f2dd61a4d157f6c511c5587fe (patch)
tree363b1a7fd31fb3646bc183489ecbf66c6be184c5 /libbe/storage/vcs/git.py
parent44cbfdc1e8e9c6c7fb115c7ea101e2532d58e436 (diff)
downloadbugseverywhere-28b2fb89784f7a1f2dd61a4d157f6c511c5587fe.tar.gz
Add libbe.ui.util.user.get_fallback_fullname() and use pwd when possible.
This patch is based on Julien Muchembled's pwd suggestions.
Diffstat (limited to 'libbe/storage/vcs/git.py')
-rw-r--r--libbe/storage/vcs/git.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbe/storage/vcs/git.py b/libbe/storage/vcs/git.py
index 5c17303..6de1d56 100644
--- a/libbe/storage/vcs/git.py
+++ b/libbe/storage/vcs/git.py
@@ -74,7 +74,7 @@ class Git(base.VCS):
if name != '' or email != '': # got something!
# guess missing info, if necessary
if name == '':
- name = _user.get_fallback_username()
+ name = _user.get_fallback_fullname()
if email == '':
email = _user.get_fallback_email()
return _user.create_user_id(name, email)