Code

A Windows path starting with a backslash is absolute
authorTheo Niessink <theo@taletn.com>
Fri, 27 May 2011 16:00:38 +0000 (18:00 +0200)
committerJunio C Hamano <gitster@pobox.com>
Fri, 27 May 2011 17:59:13 +0000 (10:59 -0700)
commit88135203af9df27c0f9c76c27bbbf48833bb31c8
treef2039ac00ca627f064bb84a1abcf48e358683e22
parentbac9c06ba093d9254cb2ab3eed074722a3e635a6
A Windows path starting with a backslash is absolute

This fixes prefix_path() not recognizing e.g. \foo\bar as an absolute path
on Windows.

Signed-off-by: Theo Niessink <theo@taletn.com>
Signed-off-by: Erik Faye-Lund <kusmabite@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
cache.h