/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

Support user.signingkey configuration variable in .git/config.

Merged from https://code.launchpad.net/~jelmer/brz/local-git-key/+merge/381000

Show diffs side-by-side

added added

removed removed

Lines of Context:
63
63
            except KeyError:
64
64
                return email.decode()
65
65
            return '%s <%s>' % (name.decode(), email.decode())
 
66
        if name == 'gpg_signing_key':
 
67
            try:
 
68
                key = self._config.get((b'user', ), b'signingkey')
 
69
            except KeyError:
 
70
                return None
 
71
            return key.decode()
66
72
        return None
67
73
 
68
74