Revision d58e8d34b019d435b424811c6f972910dfac6f55 authored by Junio C Hamano on 25 July 2007, 23:22:55 UTC, committed by Junio C Hamano on 25 July 2007, 23:22:55 UTC
In a working tree prepared in new-workdir (in contrib/), some files in .git/
directory are symbolic links to the original repository.  The usual sequence of
lock-write-rename would break the symbolic link.

Ideally we should resolve relative symbolic link with maxdepth, but I do not
want to risk too elaborate patch before 1.5.3 release, so this is a minimum
and trivially obvious fix.  new-workdir creates its symbolic links absolute,
and does not link from a symlinked workdir, so this fix should suffice for now.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
1 parent 1a44be9
History
File Mode Size
.gitignore -rw-r--r-- 22 bytes
Makefile -rw-r--r-- 1.3 KB
branches-- -rw-r--r-- 47 bytes
hooks--applypatch-msg -rw-r--r-- 441 bytes
hooks--commit-msg -rw-r--r-- 780 bytes
hooks--post-commit -rw-r--r-- 152 bytes
hooks--post-receive -rw-r--r-- 510 bytes
hooks--post-update -rw-r--r-- 207 bytes
hooks--pre-applypatch -rw-r--r-- 387 bytes
hooks--pre-commit -rw-r--r-- 1.7 KB
hooks--pre-rebase -rw-r--r-- 4.2 KB
hooks--update -rw-r--r-- 1.9 KB
info--exclude -rw-r--r-- 240 bytes
this--description -rw-r--r-- 58 bytes

back to top