summaryrefslogtreecommitdiff
path: root/Documentation/mailmap.txt
diff options
context:
space:
mode:
authorJohannes Sixt <johannes.sixt@telecom.at>2008-07-21 19:19:55 (GMT)
committerJunio C Hamano <gitster@pobox.com>2008-07-26 00:41:13 (GMT)
commit10c4c881c4d2cb0ece0508e7142e189e68445257 (patch)
tree32a3cc326352f5a1244144a987b8659b6fcc2bc5 /Documentation/mailmap.txt
parent49fa65a7a8185e81c1098815df607042103b0493 (diff)
downloadgit-10c4c881c4d2cb0ece0508e7142e189e68445257.zip
git-10c4c881c4d2cb0ece0508e7142e189e68445257.tar.gz
git-10c4c881c4d2cb0ece0508e7142e189e68445257.tar.bz2
Allow add_path() to add non-existent directories to the path
This function had used make_absolute_path(); but this function dies if the directory that contains the entry whose relative path was supplied in the argument does not exist. This is a problem if the argument is, for example, "../libexec/git-core", and that "../libexec" does not exist. Since the resolution of symbolic links is not required for elements in PATH, we can fall back to using make_nonrelative_path(), which simply prepends $PWD to the path. We have to move make_nonrelative_path() alongside make_absolute_path() in abspath.c so that git-shell can be linked. See 5b8e6f85f. Signed-off-by: Johannes Sixt <johannes.sixt@telecom.at> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/mailmap.txt')
0 files changed, 0 insertions, 0 deletions