"Shawn O. Pearce" <spearce@xxxxxxxxxxx> writes: > git-diff $old $new | git-apply --index ? > > If the patch does not apply, nothing gets updated. If it does apply, > the index is also updated and stat data updated. And if you are only checking then perhaps instead of --index use --check, so that the actual updates are deferred? - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html