From: Brandon Casey Date: Mon, 19 May 2008 14:20:05 GMT Subject: Re: [PATCH] t7701-repack-unpack-unreachable.sh: check timestamp of unpacked objects Message-ID: In-Reply-To: <7vd4niaozy.fsf@gitster.siamese.dyndns.org> Junio C Hamano wrote: > drafnel@gmail.com writes: > > >> + test -f "$fsha1path" -a ! "$fsha1path" -nt "$packfile" -a \ >> + ! "$fsha1path" -ot "$packfile" && >> + test -f "$csha1path" -a ! "$csha1path" -nt "$packfile" -a \ >> + ! "$csha1path" -ot "$packfile" && >> + test -f "$tsha1path" -a ! "$tsha1path" -nt "$packfile" -a \ >> + ! "$tsha1path" -ot "$packfile" >> +' > > "Test" primaries -nt/-ot are unfortunately excluded from POSIX. hrmph, and it even worked on solaris ksh. -brandon