From: Junio C Hamano Date: Thu, 31 Jul 2008 00:15:23 GMT Subject: Re: Bizarre missing changes (git bug?) Message-ID: <7vabfy52p0.fsf@gitster.siamese.dyndns.org> In-Reply-To: <7vej5b3ozz.fsf@gitster.siamese.dyndns.org> Junio C Hamano writes: > The idea is to compute, for each commit in the "full history" result set, > the commit that should replace it in the simplified history. This > replacement commit is defined as follows: > > * In any case, we first figure out the replacement commits of parents of > the commit we are looking at. The commit we are looking at is > rewritten as if its parents are replacement commits of its original > parents. > > * If the commit is marked as TREESAME (i.e. it modifies the paths we are > interested in), then the replacement commit is itself. IOW, the commit > is not dropped from the final result. A typo here. This comment should have said !TREESAME (the code is correct).