Allow GIT_DIR to be an absolute path
commit67ffdf4c0af47679b8a4ac2b70e722e2f65fc4f9
authorJohannes Schindelin <Johannes.Schindelin@gmx.de>
Sun, 6 Nov 2005 23:36:15 +0000 (7 00:36 +0100)
committerJunio C Hamano <junkio@cox.net>
Mon, 7 Nov 2005 02:31:46 +0000 (6 18:31 -0800)
tree3ae96fe4b4024014e6c97147f7c112c24c6e2582
parentbee8e79da08f3e50fd7e3b3b203aea284a933fe1
Allow GIT_DIR to be an absolute path

This fixes a problem in safe_create_leading_directories() when the
argument starts with a '/' (i.e. the path is absolute).

Signed-off-by: Johannes Schindelin <Johannes.Schindelin@gmx.de>
Signed-off-by: Junio C Hamano <junkio@cox.net>
sha1_file.c