]> git.ipfire.org Git - thirdparty/git.git/commit - path.c
Move offset_1st_component() to path.c
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>
Tue, 16 Feb 2010 05:22:08 +0000 (12:22 +0700)
committerJunio C Hamano <gitster@pobox.com>
Tue, 16 Feb 2010 16:54:34 +0000 (08:54 -0800)
commit4bb43de25977063187dedf054122985bc5a2660e
tree7e8f344d6ae53bdfd281ba32c12143bd7b07ac51
parentd06f15d9c0c2b072e5eebf87fa93ee9a899ed642
Move offset_1st_component() to path.c

The implementation is also lightly modified to use is_dir_sep()
instead of hardcoding '/'.

Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
cache.h
path.c
sha1_file.c