names_conflict(): simplify implementation
authorMichael Haggerty <mhagger@alum.mit.edu>
Tue, 10 Apr 2012 05:30:19 +0000 (07:30 +0200)
committerJunio C Hamano <gitster@pobox.com>
Tue, 10 Apr 2012 22:54:54 +0000 (15:54 -0700)
commit5a4d4947318d638f39a47be253d83460a10e65ef
tree9c1af5452518c5e50e914d6eeed82dea2e2da6fc
parentd66da478f26df3114af1177fa5614035439178ed
names_conflict(): simplify implementation

Save a bunch of lines of code and a couple of strlen() calls.

Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
refs.c