Re: [PATCH 6/6] Teach core object handling functions about gitlinks

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

 



On 4/10/07, Frank Lichtenheld <frank@xxxxxxxxxxxxxx> wrote:
On Mon, Apr 09, 2007 at 09:20:29PM -0700, Linus Torvalds wrote:
> +     case S_IFDIR:
> +             return resolve_gitlink_ref(path, "HEAD", sha1);
>       default:
>               return error("%s: unsupported file type", path);
>       }

Not that I have time right now to look up the exact context (only read
the patch), but I would've expected a "case S_IFDIRLNK:" here?


No, the st_mode comes directly from file system. It knows nothing about
dirlinks.
-
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]