Thread (1 message) 1 message, 1 author, 2016-06-15

Re: Recovering Committed Changes in a Detached Head?

From: Ronan Keryell <hidden>
Date: 2016-06-15 22:52:13

quoted
quoted
quoted
quoted
On Sun, 9 Oct 2011 16:52:11 +1100, Nguyen Thai Ngoc Duy [off-list ref] said:
    Nguyen> On Sun, Oct 9, 2011 at 9:00 AM, Martin Fick [off-list ref] 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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help