From: Linus Torvalds Date: Mon, 26 Sep 2005 16:43:08 GMT Subject: Re: rsync deprecated but promoted? Message-ID: In-Reply-To: <20050926163846.GD21019@pasky.or.cz> On Mon, 26 Sep 2005, Petr Baudis wrote: > > Actually, it would be nice to be able to tell git-fsck-objects to only > verify objects which are referenced between given two commits (perhaps > just make it support the ^object notation). Then I wouldn't mind running > that after each rsync fetch in Cogito. You can kind of do it. Do git-rev-list --objects $oldheads --not $newheads >& /dev/null echo "$?" and it _should_ largely work. Untested, of course, but I _hope_ that if any object is missing, git-rev-list should die with an error. And if it doesn't, I should fix it ;) Linus