author | Kay Sievers <kay.sievers@vrfy.org> | |
Fri, 6 May 2005 13:45:01 +0000 (15:45 +0200) | ||
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | |
Fri, 6 May 2005 15:41:12 +0000 (08:41 -0700) | ||
commit | ffbe1addd5a5b7b7c2f987625a5aa6c1d22e3705 | |
tree | 68127262b118858d0dc4d898a3b89d78be6180cf | tree | snapshot |
parent | 20d37ef67286e5131d2333d7b4662bc70f9d4937 | commit | diff |
[PATCH] fix compare symlink against readlink not data
Fix update-cache to compare the blob of a symlink against the link-target
and not the file it points to. Also ignore all permissions applied to
links.
Thanks to Greg for recognizing this while he added our list of symlinks
back to the udev repository.
Signed-off-by: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Fix update-cache to compare the blob of a symlink against the link-target
and not the file it points to. Also ignore all permissions applied to
links.
Thanks to Greg for recognizing this while he added our list of symlinks
back to the udev repository.
Signed-off-by: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
diff-files.c | diff | blob | history | |
read-cache.c | diff | blob | history | |
update-cache.c | diff | blob | history |