Skip to content

Commit

Permalink
Fix obfuscated username issue with displaying 'alias'ed author names.
Browse files Browse the repository at this point in the history
  • Loading branch information
teward committed Apr 21, 2017
1 parent 5e7c007 commit ac05a2b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions globalvars.py
Original file line number Diff line number Diff line change
Expand Up @@ -322,8 +322,9 @@ class GlobalVars:
commit = git_commit_info()
if md5(commit['author'][0].encode('utf-8')).hexdigest() in censored_committer_names:
commit['author'] = censored_committer_names[md5(commit['author'][0].encode('utf-8')).hexdigest()]

commit_with_author = "%s (%s: *%s*)" % (commit['id'], commit['author'][0], commit['message'])
commit_with_author = "%s (%s: *%s*)" % (commit['id'], commit['author'], commit['message'])
else:
commit_with_author = "%s (%s: *%s*)" % (commit['id'], commit['author'][0], commit['message'])

on_master = "HEAD detached" not in git_status()
charcoal_hq = None
Expand Down

0 comments on commit ac05a2b

Please sign in to comment.