Re: How to (re-)create .git/logs/refs
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- May 13, 2008, 11:46 UTC
- Message-ID
- <alpine.DEB.1.00.0805131244300.30431@racer>
- In-Reply-To
- <200805130842.06112.hs4233@mail.mn-solutions.de>
Hi,
On Tue, 13 May 2008, Holger Schurig wrote:
Show 9 quoted lines
> > > a) is there a way to re-create .git/logs/refs ?
> >
> > No.
> >
> > The reflog records how _you_ modified your various branches
> > locally.
>
> Okay, then I presume it's a shortcoming that the @{date} syntax
> uses .git/logs/ref.Are you sure you understand what @{date} does? It shows you the state _this_ repository was in at that date.
There is _no way_ to get this information from somewhere else than the reflogs.
It is a common misconception that you can reference anything by date in a distributed setup. (Before you ask, I will just mention "clock skew" and "parallel branches" to give you an idea why this is a misconception.)
Ciao, Dscho