]> git.ipfire.org Git - thirdparty/git.git/commit - sha1_file.c
Windows: Handle absolute paths in safe_create_leading_directories().
authorJohannes Sixt <johannes.sixt@telecom.at>
Fri, 30 Nov 2007 20:36:00 +0000 (21:36 +0100)
committerJohannes Sixt <johannes.sixt@telecom.at>
Mon, 23 Jun 2008 11:30:27 +0000 (13:30 +0200)
commit8385abfda533819be9fbec436230ccd7be4bcda8
treebe7b242dd2be63a086930cbb428c08d56d84a8a6
parent25fe217b86ca40c53e710d776e120dfa0d81f60b
Windows: Handle absolute paths in safe_create_leading_directories().

In this function we must be careful to handle drive-local paths else there
is a danger that it runs into an infinite loop.

Signed-off-by: Johannes Sixt <johannes.sixt@telecom.at>
sha1_file.c