Re: rsync deprecated but promoted?

From: Linus Torvalds <torvalds@osdl.org>
Date: 2005-09-27 02:43:08
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
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Received on Tue Sep 27 02:43:54 2005

This archive was generated by hypermail 2.1.8 : 2005-09-27 02:43:57 EST