author | Daniel Barkalow <barkalow@iabervon.org> | |
Fri, 6 Jun 2008 03:15:19 +0000 (23:15 -0400) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Fri, 6 Jun 2008 18:23:10 +0000 (11:23 -0700) | ||
commit | 1b9a9467f8b9a8da2fe58d10ae16779492aa7737 | |
tree | c15c63ad7811864c4845e3466e25431a98202cfd | tree | snapshot |
parent | 9e1f0a85c68323830ea117092c55192b17aa3ac8 | commit | diff |
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>
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 | diff | blob | history | |
cache.h | diff | blob | history | |
path.c | diff | blob | history |