Re: How to (re-)create .git/logs/refs
- From
Andreas Ericsson <ae@op5.se>
- Date
- May 13, 2008, 09:38 UTC
- Message-ID
- <4829619E.4020701@op5.se>
- In-Reply-To
- <200805131111.42517.hs4233@mail.mn-solutions.de>
Holger Schurig wrote:
Show 6 quoted lines
>> Okay, then I presume it's a shortcoming that the @{date}
>> syntax uses .git/logs/ref.
>
> Is there any reason sha1_name.c (which is responsible for the @{}
> syntax) doesn't include list-objects.h and uses
> traverse_commit_list() for it's purposes?It would be alot slower for large projects. Otoh it would also mean it'd work on a freshly cloned repository, so perhaps it's worth the trade-off.
Show 9 quoted lines
> It wouldn't then need > to use .git/logs/ref anymore. > > If that would be ok, then maybe I find time (in my spare time) > and prepare a patch in this direction. > -- > To unsubscribe from this list: send the line "unsubscribe git" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html
-- Andreas Ericsson andreas.ericsson@op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231