Version 5 of the patch series to cleanup the duplicate name_compare()
functions.
- name-hash.c had a call to cache_name_compare() but it required that
the lengths were equal. Since cache_name_compare() is equivalent to
memcmp() when the lengths are equal, replace it with memcmp().
This avoids renaming cache_name_compare() to name_compare() in a
later patch.
- Cleanup of log message by Junio C Humano.
Jeremiah Mahler (2):
name-hash.c: replace cache_name_compare() with memcmp()
cleanup duplicate name_compare() functions
cache.h | 2 +-
dir.c | 3 +--
name-hash.c | 2 +-
read-cache.c | 23 +++++++++++++----------
tree-walk.c | 10 ----------
unpack-trees.c | 11 -----------
6 files changed, 16 insertions(+), 35 deletions(-)
--
2.0.0.694.g5736dad
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html