author | Thomas Rast <trast@student.ethz.ch> | |
Mon, 29 Aug 2011 20:06:04 +0000 (22:06 +0200) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Mon, 29 Aug 2011 22:23:22 +0000 (15:23 -0700) | ||
commit | 7732118438764cfe49b8e0ad2c63e6dc97be45ed | |
tree | 16c111d1e5e2ffc936784cda202a35d4f6204b5d | tree | snapshot |
parent | cd2b8ae983a277fb3f3c2b2c6747b0a075af1421 | commit | diff |
Use memmove in ident_to_git
convert_to_git sets src=dst->buf if any of the preceding conversions
actually did any work. Thus in ident_to_git we have to use memmove
instead of memcpy as far as src->dst copying is concerned.
Signed-off-by: Thomas Rast <trast@student.ethz.ch>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
convert_to_git sets src=dst->buf if any of the preceding conversions
actually did any work. Thus in ident_to_git we have to use memmove
instead of memcpy as far as src->dst copying is concerned.
Signed-off-by: Thomas Rast <trast@student.ethz.ch>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
convert.c | diff | blob | history |