Re: Recovering Committed Changes in a Detached Head?
- From
- Ronan Keryell <ronan.keryell@hpc-project.com>
- Date
- Oct 9, 2011, 07:46 UTC
- Message-ID
- <87k48efvzc.fsf@an-dro.info.enstb.org>
- In-Reply-To
- <CACsJy8CsMCju7joj2B2xbBSTF1vHjyuFeSZyPhTJisO2sU-Fqg@mail.gmail.com>
>>>>> On Sun, 9 Oct 2011 16:52:11 +1100, Nguyen Thai Ngoc Duy <pclouds@gmail.com> said:
Nguyen> On Sun, Oct 9, 2011 at 9:00 AM, Martin Fick <mfick@codeaurora.org> wrote:
>> While rflog is cool, I can't help but think that git could be
>> even more helpful for these scenarios. >> First, maybe git could create refs for these automatically,
>> perhaps with a name like orphans/1? Maybe these refs would only
>> be visible via git branch --orphans. Nguyen> If I remember correctly, we don't have private ref
Nguyen> namespace, any refs created automatically this way could be
Nguyen> pushed out by accident.A way to avoid this could be to deal with this like git-stash works, instead of relying on the branch machinery.
But anyway, I think there is a trade-off between keeping some references to some hypothetical future use and preventing the garbage collector to reclaim useless objects...
-- Ronan KERYELL |\/ Phone: +1 408 844 HPC0 HPC Project, Inc. |/) Cell: +33 613 143 766 5201 Great America Parkway #3241 K Ronan.Keryell@hpc-project.com Santa Clara, CA 95054 |\ skype:keryell USA | \ http://hpc-project.com