Re: [PATCH] read-tree -m -u: avoid getting confused by intermediate symlinks.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 5/11/07, Junio C Hamano <junkio@xxxxxxx> wrote:
@@ -268,6 +268,8 @@ static void unlink_entry(char *name)
 {
        char *cp, *prev;

+       if (has_symlink_leading_path(name))
+               return;

This can slow down the unlink case quiet considerably.
Maybe the symlink paths can be cached?
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux