Merge branch 'rs/apply-avoid-over-reading' into maint
commitbc2c50fc2c6ed72140ade798fc4d5c9ddf2d50c4
authorJunio C Hamano <gitster@pobox.com>
Mon, 31 Jul 2017 20:51:04 +0000 (31 13:51 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 31 Jul 2017 20:51:04 +0000 (31 13:51 -0700)
tree1eb9194d73a752b9645c9cd3ec4a727f81ba72da
parent2187e112d719109cac64d39e1bd8a04b123b6eed
parent2d105451c0768fc3e9600dec7bca2376f482521e
Merge branch 'rs/apply-avoid-over-reading' into maint

Code cleanup.

* rs/apply-avoid-over-reading:
  apply: use strcmp(3) for comparing strings in gitdiff_verify_name()
  apply: use starts_with() in gitdiff_verify_name()
apply.c