Re: What's cooking in git.git (topics)

From
Junio C Hamano <hidden>
Date
2016-08-11 20:02:54
Reply to
Andy Parkins, 2016-08-11
Andy Parkins [off-list ref] writes:
On Saturday 2006, December 16 23:10, Junio C Hamano wrote:
quoted
   * revisions recorded in the reflog can be pruned out,
     rendering some entries in reflog useless.
Can I suggest that it should be fine to prune reflog entries but that the act 
of pruning be a log entry itself?
I do not understand.  What would that "pruning event" log entry
would say?

By definition each reflog entry says "it was pointing at this
object before, and it was changed by this user to point at that
object at this time and the reason for the change was this".

I personally do not think recording "at this point these things
were pruned" makes _any_ sense whatsoever --- if you care about
the pruned objects that simply means you pruned them before you
are ready to lose them.  But even if for whatever reason you
choose to log that anyway, I have a feeling that that record
does not belong to the reflog itself.
Thread (11 messages) 11 messages, 7 authors, last reply 2016-08-11
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help