summaryrefslogtreecommitdiff
path: root/builtin/commit.c
diff options
context:
space:
mode:
authorRené Scharfe <l.s.r@web.de>2014-08-16 23:48:33 +0200
committerJunio C Hamano <gitster@pobox.com>2014-08-18 09:45:39 -0700
commitbf7283465b42e43b8822a8575abd1a7c6c82e7c9 (patch)
tree8902206a26d80f529a7f1ece7b7f49565be302b6 /builtin/commit.c
parentc2369bdf7ff082d588c4a4efe280bc4a483d0192 (diff)
downloadgit-rs/inline-compat-path-macros.tar.gz
turn path macros into inline functionrs/inline-compat-path-macros
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 'builtin/commit.c')
0 files changed, 0 insertions, 0 deletions