Re: git-diff-tree does not use alternate objects for submodules
- From
Junio C Hamano <gitster@pobox.com>
- Date
- May 14, 2012, 16:49 UTC
- Message-ID
- <7v7gweiu7b.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <20120513172301.GA58961@book.hvoigt.net>
Heiko Voigt <hvoigt@hvoigt.net> writes:
> Here is the simplest approach I could think of (not sure if its maybe > too simple). On first sight it seems to work (even if I exchange the > absolute path in alternates with a relative one.
Conceptually looks very sound and trivially correct as long as the objets_directory.buf is always absolute path (I didn't check, and I do not offhand know if read_info_alternates() was designed to work when called with a relative path in relative_base).