Re: Extending "extended SHA1" syntax to traverse through gitlinks?
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Aug 23, 2016, 16:39 UTC
- Message-ID
- <xmqqy43nwibj.fsf@gitster.mtv.corp.google.com>
- In-Reply-To
- <ab6e29c1-ea6d-c1c5-e69f-867c16cc736a@gmail.com>
Jakub Narębski <jnareb@gmail.com> writes:
Show 8 quoted lines
> Especially that for submodules you need: > > $ git --git-dir=subdir/.git cat-file -p $(git rev-parse HEAD:subdir):file > > (or something like that), assuming that you start in supermodule. > ... > > But perhaps '//' would be better.
If the users have to know where they need to use different separator, I do not think it is worth complicating the plumbing to do this for them. I'd rather keep things simple, and let the users build complex stuff on top of the plumbing.