This splits out a few functions to deal with mailmap from shortlog and makes it a bit more usable from other programs. Most notably, it does not clobber input e-mail address anymore. Signed-off-by: Junio C Hamano <junkio@cox.net>
		
			
				
	
	
		
			8 lines
		
	
	
		
			213 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			8 lines
		
	
	
		
			213 B
		
	
	
	
		
			C
		
	
	
	
	
	
#ifndef MAILMAP_H
 | 
						|
#define MAILMAP_H
 | 
						|
 | 
						|
int read_mailmap(struct path_list *map, const char *filename, char **repo_abbrev);
 | 
						|
int map_email(struct path_list *mailmap, const char *email, char *name, int maxlen);
 | 
						|
 | 
						|
#endif
 |