Re: RFC: reflog for deleted branches

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

 



Junio C Hamano skrev 2012-05-04 01.05:
Sven Strickroth <sven.strickroth@xxxxxxxxxxxxxxx> writes:

The "normal" reflog cannot be used if you just create and then delete a
branch - the reflog is empty in this case.

I somehow thought we discussed about the lack of "creation" event.
Perhaps it is sufficient to create a reflog entry for such then?

We have the create event (oldd=0000...), if we just don't delete the log and add
a destroy event (newid=000000).

A bit trickier with the current reflog design is the case where you
delete branch foo and then create the branch foo/bar. One way would be
to append a "." to the leaf in the refs directory tree. Older readers
wouldn't understand that to there's a compatibility issue.

-- robin
--
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]