Thread (7 messages) flat view 7 messages, 4 authors, 2016-06-15

Re: [PATCH 2/2] refs.c: Write reflogs for notes just like for branch heads

From: Jakub Narebski <hidden>
Date: 2016-06-15 22:48:31

Johan Herland [off-list ref] writes:
On Tuesday 30 March 2010, Jeff King wrote:
quoted
I like the idea of having a reflog, just because you could use it to
salvage an old cache if you were playing around with your helper's
options (or debugging your helper :) ). The usual 90-day expiration
time is perhaps too long, though.
Yes, 90 days as a default might be excessive, but you can always 
override it with a "git gc --prune=now"...
You can always set different expire time for notes by using

  [gc "refs/notes"]
        reflogExpire = 7 # days, I suppose

Which is not documented (I have found it in RelNotes-1.6.0.txt).  
Oh well...
-- 
Jakub Narebski
Poland
ShadeHawk on #git
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help