Re: [PATCH 1/2] clone: allow to clone from .git file

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

 



Nguyễn Thái Ngọc Duy  <pclouds@xxxxxxxxx> writes:

> +		else if (S_ISREG(st.st_mode) && st.st_size > 8) {
> +			/* Despite the name read_gitfile_gently can be
> +			   cruel on non .git file, check for signature
> +			   ourselves */

Didn't somebody add "is this '.git' thing a valid git metadirectory?" API
quite recently for exactly this?
--
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]