consider two files sharing the same inode identical
authorhalex <halex@openbsd.org>
Wed, 1 Sep 2021 18:16:52 +0000 (18:16 +0000)
committerhalex <halex@openbsd.org>
Wed, 1 Sep 2021 18:16:52 +0000 (18:16 +0000)
commita05fc07db7c6e6a84b29f5170f954f57fb37bb0e
tree91f4974bd536fe2626d82475276d287ff98118ee
parent0e0d0a1193ed36856b1ec5ef744c805a6159e342
consider two files sharing the same inode identical

This gives a substantial speedup when comparing directory
structures with many hardlinked files, e.g. when using
rsnapshot for incremental backup.

ok stsp@ millert@
usr.bin/diff/diffreg.c