Diff options
authorLukas Fleischer <lfleischer@lfos.de>
committerJason A. Donenfeld <Jason@zx2c4.com>
commit
parent
tree
download
Replace most uses of strncmp() with prefixcmp()
This is a preparation for replacing all prefix checks with either strip_prefix() or starts_with() when Git 1.8.6 is released. Signed-off-by: Lukas Fleischer <cgit@cryptocrack.de>
-rw-r--r--cgit.c18
-rw-r--r--parsing.c12
-rw-r--r--scan-tree.c2
-rw-r--r--ui-refs.c4
-rw-r--r--ui-shared.c2
-rw-r--r--ui-summary.c2
6 files changed, 20 insertions, 20 deletions