Re: rsync deprecated but promoted?
- From
Linus Torvalds <torvalds@osdl.org>
- Date
- Sep 26, 2005, 16:43 UTC
- Message-ID
- <Pine.LNX.4.58.0509260941340.3308@g5.osdl.org>
- In-Reply-To
- <20050926163846.GD21019@pasky.or.cz>
On Mon, 26 Sep 2005, Petr Baudis wrote:
Show 5 quoted lines
> > 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