Use nonrelative paths instead of absolute paths for cloned repositories
commit1b9a9467f8b9a8da2fe58d10ae16779492aa7737
authorDaniel Barkalow <barkalow@iabervon.org>
Fri, 6 Jun 2008 03:15:19 +0000 (5 23:15 -0400)
committerJunio C Hamano <gitster@pobox.com>
Fri, 6 Jun 2008 18:23:10 +0000 (6 11:23 -0700)
treec15c63ad7811864c4845e3466e25431a98202cfd
parent9e1f0a85c68323830ea117092c55192b17aa3ac8
Use nonrelative paths instead of absolute paths for cloned repositories

Particularly for the "alternates" file, if one will be created, we
want a path that doesn't depend on the current directory, but we want
to retain any symlinks in the path as given and any in the user's view
of the current directory when the path was given.

Signed-off-by: Daniel Barkalow <barkalow@iabervon.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-clone.c
cache.h
path.c