Allow GIT_DIR to be an absolute path
authorJohannes Schindelin <redacted>
Sun, 6 Nov 2005 23:36:15 +0000 (00:36 +0100)
committerJunio C Hamano <redacted>
Mon, 7 Nov 2005 02:31:46 +0000 (18:31 -0800)
commit67ffdf4c0af47679b8a4ac2b70e722e2f65fc4f9
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 <redacted>
Signed-off-by: Junio C Hamano <redacted>
sha1_file.c
git clone https://git.99rst.org/PROJECT