diff options
author | René Scharfe <rene.scharfe@lsrfire.ath.cx> | 2013-01-16 02:08:16 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-01-16 09:48:36 -0800 |
commit | c971ddfdcd319fb5cad95aa7047c54ebe6a22d1a (patch) | |
tree | 0a0719639eac07c63af594fb9bc138a2e25a7999 /git-gui/po/sv.po | |
parent | refs: do not create ref_entry when searching (diff) | |
download | tgif-c971ddfdcd319fb5cad95aa7047c54ebe6a22d1a.tar.xz |
refs: use strncmp() instead of strlen() and memcmp()
Simplify ref_entry_cmp_sslice() by using strncmp() to compare the
length-limited key and a NUL-terminated entry. While we're at it,
retain the const attribute of the input pointers.
Signed-off-by: Rene Scharfe <rene.scharfe@lsrfire.ath.cx>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git-gui/po/sv.po')
0 files changed, 0 insertions, 0 deletions