Introduce "base_name_compare()" helper function
authorLinus Torvalds <torvalds@ppc970.osdl.org>
Fri, 20 May 2005 16:09:18 +0000 (09:09 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Fri, 20 May 2005 16:09:18 +0000 (09:09 -0700)
commit958ba6c96eb58b359c855c9d07e3e45072f0503e
tree0d9f3f853998315a6d6abd045b5de32b074066c8
parente59363822f7026896209a9e986c6bf80b10ab37a
Introduce "base_name_compare()" helper function

This one compares two pathnames that may be partial basenames, not
full paths. We need to get the path sorting right, since a directory
name will sort as if it had the final '/' at the end.
cache.h
read-cache.c