On Fri, 10 Jun 2005, Andrew Morton wrote:
> 
> >  I think Andrew continually thinks it is dropped, because the patch ends up 
> >  applying again, even though it got applied. So he keeps on re-sending it 
> >  over and over again ;)
> 
> Fault-tolerance!

Indeed.

However, I'm sure there's a better way. For example, something like "try
if the patch applied reversed" might be a good idea to at least mark it
for questioning.

Something like

        patch -spfR  --dry-run --fuzz=0 < patch
        if [ $? -eq 0 ]; then
                echo Hmm.. patch might be applied already
                exit 1
        fi

might be a starting point...

                Linus

Reply via email to