Re: Recovering Committed Changes in a Detached Head?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>>>>> On Sun, 9 Oct 2011 16:52:11 +1100, Nguyen Thai Ngoc Duy <pclouds@xxxxxxxxx> said:

    Nguyen> On Sun, Oct 9, 2011 at 9:00 AM, Martin Fick <mfick@xxxxxxxxxxxxxx> 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@xxxxxxxxxxxxxxx
  Santa Clara, CA 95054              |\   skype:keryell
  USA                                | \  http://hpc-project.com
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]