From: Junio C Hamano Date: Fri, 26 Jan 2007 09:31:17 GMT Subject: Re: grafts+repack+prune = history at danger Message-ID: <7vzm86yw0q.fsf@assigned-by-dhcp.cox.net> In-Reply-To: <45B9C836.728F31EC@eudaptics.com> Johannes Sixt writes: > Here's my stance on it. Grafts should be a local matter. And they alter > the world view, with a pronounciation on *view*. That's why I proposed > that only log familiy of commands obey them[*]. And probably rev-list so > that gitk et.al. have a way to obey them. And also the ref parser (so > that master~20 is what it looks it is). Everything else should disregard > grafts: repack, prune, fetch, -pack, push etc. No nasty side > effects anymore. I said you are not agreeing, but I should have said you are not understanding. grafts can bring otherwise disconnected commits into the altered history, so if you want your log to honor grafts, your prune and repack need to be aware of them lest you would not lose them.