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

Re: [RFC/PATCH] git-prune: never lose objects reachable from our refs.

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:42:14

"Peter Eriksen" [off-list ref] writes:
On Thu, Dec 08, 2005 at 11:25:10PM -0800, Junio C Hamano wrote:
quoted
Explicit <head> arguments to git-prune replaces, instead of
extends, the list of heads used for reachability analysis by
fsck-objects.  By giving a subset of heads by mistake, objects
reachable only from other heads can be removed, resulting in a
corrupted repository.

This commit stops replacing the list of heads, and makes the
command line arguments to add to them instead for safety.
Shouldn't the first sentence be "Explicit <head> arguments to git-prune
extends, instead of replaces,...", that is, interchange the words 
extends and replaces?  Did I miss something?
Sorry, what I meant was: "before this proposed change, it
replaces instead of extends --- which means DANGER.  This
proposed change is to make things safer".
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help