summaryrefslogtreecommitdiff
path: root/attr.c
diff options
context:
space:
mode:
authorLibravatar René Scharfe <l.s.r@web.de>2014-08-16 23:48:33 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2014-08-18 09:45:39 -0700
commitbf7283465b42e43b8822a8575abd1a7c6c82e7c9 (patch)
tree8902206a26d80f529a7f1ece7b7f49565be302b6 /attr.c
parentWindows: allow using UNC path for git repository (diff)
downloadtgif-bf7283465b42e43b8822a8575abd1a7c6c82e7c9.tar.xz
turn path macros into inline function
Use static inline functions instead of macros for has_dos_drive_prefix, offset_1st_component, is_dir_sep and find_last_dir_sep in order to let the compiler do type checking. The definitions of offset_1st_component and is_dir_sep are switched around because the former uses the latter. Signed-off-by: Rene Scharfe <l.s.r@web.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'attr.c')
0 files changed, 0 insertions, 0 deletions