diff options
author | Nguyễn Thái Ngọc Duy <pclouds@gmail.com> | 2010-02-16 12:22:08 +0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-02-16 08:54:34 -0800 |
commit | 4bb43de25977063187dedf054122985bc5a2660e (patch) | |
tree | 7e8f344d6ae53bdfd281ba32c12143bd7b07ac51 /builtin-describe.c | |
parent | init-db, rev-parse --git-dir: do not append redundant slash (diff) | |
download | tgif-4bb43de25977063187dedf054122985bc5a2660e.tar.xz |
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>
Diffstat (limited to 'builtin-describe.c')
0 files changed, 0 insertions, 0 deletions