You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
mailmap.addEntry(real_name,real_email,replace_name,replace_email).then(function(result){// Use result});
| Parameters | Type |
| --- | --- | --- |
| real_name | String | the real name to use, or NULL |
| real_email | String | the real email to use, or NULL |
| replace_name | String | the name to replace, or NULL |
| replace_email | String | the email to replace |
Returns
Number
0 on success, or an error code
Mailmap#resolve AsyncExperimental
mailmap.resolve(name,email).then(function(string){// Use string});
| Parameters | Type |
| --- | --- | --- |
| name | String | the name to look up |
| email | String | the email to look up |
Returns
String
Mailmap#resolveSignature AsyncExperimental
mailmap.resolveSignature(sig).then(function(signature){// Use signature});
| Parameters | Type |
| --- | --- | --- |
| sig | Signature | signature to resolve |