/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to breezy/git/config.py

  • Committer: Jelmer Vernooij
  • Date: 2020-03-21 20:56:33 UTC
  • mto: (7490.7.6 work)
  • mto: This revision was merged to the branch mainline in revision 7499.
  • Revision ID: jelmer@jelmer.uk-20200321205633-pk618ic3m0w29ttd
Support user.signingkey.

Show diffs side-by-side

added added

removed removed

Lines of Context:
69
69
            except KeyError:
70
70
                return email.decode()
71
71
            return '%s <%s>' % (name.decode(), email.decode())
 
72
        if name == 'gpg_signing_key':
 
73
            try:
 
74
                key = self._config.get((b'user', ), b'signingkey')
 
75
            except KeyError:
 
76
                return None
 
77
            return key.decode()
72
78
        return None
73
79
 
74
80