Re: git-diff-tree does not use alternate objects for submodules

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

 



Heiko Voigt <hvoigt@xxxxxxxxxx> writes:

> link_alt_odb_entry() uses realpath to combine relative entries with
> relative_base before recursively passing the entry to
> read_info_alternates().
>
> For entries with absolute path relative_base does not seem to be
> relevant.

I wasn't worried about "entries with absolute paths".  I was worried about
relative_base that the caller passes may not be absolute but relative to
something (perhaps the processe's getcwd()); it seems that the call to
real_path() to turn it into an absolute one at the very beginning of the
link_alt_odb_entry() function does indeed take care of that case.

Thanks.
--
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]