On Thu, Feb 27, 2014 at 7:16 AM, Junio C Hamano wrote:
>> + if (file_exists(path.buf)) {
>> + if (strbuf_read_file(&data, path.buf, 0) <= 0)
>> + die_errno(_("failed to read %s"), path.buf);
>
> Do we care about the case where we cannot tell if the file exists
>
Nguyễn Thái Ngọc Duy writes:
> If the file "$GIT_DIR/commondir" exists, it contains the value of
> $GIT_COMMON_DIR.
>
> Signed-off-by: Nguyễn Thái Ngọc Duy
> ---
> Documentation/gitrepository-layout.txt | 4
> setup.c| 38
> ---
If the file "$GIT_DIR/commondir" exists, it contains the value of
$GIT_COMMON_DIR.
Signed-off-by: Nguyễn Thái Ngọc Duy
---
Documentation/gitrepository-layout.txt | 4
setup.c| 38 --
strbuf.c | 8
3 matches
Mail list logo