Code

verify_dotfile(): do not assume '/' is the path seperator
authorTheo Niessink <theo@taletn.com>
Wed, 8 Jun 2011 12:04:41 +0000 (14:04 +0200)
committerJunio C Hamano <gitster@pobox.com>
Wed, 8 Jun 2011 23:34:38 +0000 (16:34 -0700)
commite0f530ff8afbd252170f57e70a8609a83a7cabe1
treec6fa772930e8c6dfe359165995e7e83a20024b35
parent3bdf09c7f555d553b4fee00c00c760b546812d4f
verify_dotfile(): do not assume '/' is the path seperator

verify_dotfile() currently assumes that the path seperator is '/', but on
Windows it can also be '\\', so use is_dir_sep() instead.

Signed-off-by: Theo Niessink <theo@taletn.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
read-cache.c