Revision 8a6444d50ea73350ae7e6083ecc63393749e5bb0 authored by Junio C Hamano on 05 March 2015, 20:45:42 UTC, committed by Junio C Hamano on 05 March 2015, 20:45:42 UTC
Code cleanups.

* rs/simple-cleanups:
  sha1_name: use strlcpy() to copy strings
  pretty: use starts_with() to check for a prefix
  for-each-ref: use skip_prefix() to avoid duplicate string comparison
  connect: use strcmp() for string comparison
2 parent s ca70473 + 2ce63e9
Raw File
mailmap.h
#ifndef MAILMAP_H
#define MAILMAP_H

int read_mailmap(struct string_list *map, char **repo_abbrev);
void clear_mailmap(struct string_list *map);

int map_user(struct string_list *map,
			 const char **email, size_t *emaillen, const char **name, size_t *namelen);

#endif
back to top