Re: Decreasing gains from git lost-found

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Andreas Ericsson <ae@...>
Cc: Junio C Hamano <gitster@...>, Git Mailing List <git@...>
Date: Tuesday, September 11, 2007 - 9:50 am

On Tue, 11 Sep 2007, Andreas Ericsson wrote:


Why would you want to extract loose objects in the first place?  That 
appears to be a really funny goal to me.

If you want to retrieve a lost branch tip, it is certainly not an old 
one, otherwise you'd certainly have forgotten about it.  So why not 
simply consulting the reflog, which, incidentally, was designed exactly 
for that usage scenario, i.e. retrieving lost branches?  It is certainly 
easier than wadding through a pile of random loose commits.


Maybe it should?


This is not meant to be used by script as much as users.

I'd suggest you simply try:

	git reflog

and see how it should be much easier to find what you might have lost 
that way.


Nicolas
-
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
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Decreasing gains from git lost-found, Andreas Ericsson, (Mon Sep 10, 11:21 am)
Re: Decreasing gains from git lost-found, Junio C Hamano, (Mon Sep 10, 1:30 pm)
Re: Decreasing gains from git lost-found, Andreas Ericsson, (Tue Sep 11, 7:42 am)
Re: Decreasing gains from git lost-found, Matthieu Moy, (Tue Sep 11, 10:20 am)
Re: Decreasing gains from git lost-found, Andreas Ericsson, (Tue Sep 11, 10:31 am)
Re: Decreasing gains from git lost-found, Nicolas Pitre, (Tue Sep 11, 11:15 am)
Re: Decreasing gains from git lost-found, Andreas Ericsson, (Tue Sep 11, 11:36 am)
Re: Decreasing gains from git lost-found, Nicolas Pitre, (Tue Sep 11, 9:50 am)
Re: Decreasing gains from git lost-found, Andreas Ericsson, (Tue Sep 11, 10:27 am)
Re: Decreasing gains from git lost-found, Nicolas Pitre, (Tue Sep 11, 11:12 am)
Re: Decreasing gains from git lost-found, Andreas Ericsson, (Tue Sep 11, 11:39 am)
Re: Decreasing gains from git lost-found, Andreas Ericsson, (Tue Sep 11, 10:38 am)
Re: Decreasing gains from git lost-found, Nicolas Pitre, (Tue Sep 11, 10:58 am)
Re: Decreasing gains from git lost-found, Andreas Ericsson, (Tue Sep 11, 11:25 am)
Re: Decreasing gains from git lost-found, Matthieu Moy, (Mon Sep 10, 11:28 am)
Re: Decreasing gains from git lost-found, Andreas Ericsson, (Mon Sep 10, 11:33 am)