X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=src%2Fcreate.c;h=de81639e2244f7c89afd0d6e597f77c4624adcc2;hb=745832a280f635b26d67e2cb8d8882ac0432e5a0;hp=7be10d27e69c460d88478864c1aa01e6b4d89dd2;hpb=4ece30109d05216c14fd95b8e73574d8df16dd1a;p=chaz%2Ftar diff --git a/src/create.c b/src/create.c index 7be10d2..de81639 100644 --- a/src/create.c +++ b/src/create.c @@ -1422,6 +1422,8 @@ dump_hard_link (struct tar_stat_info *st) static void file_count_links (struct tar_stat_info *st) { + if (hard_dereference_option) + return; if (st->stat.st_nlink > 1) { struct link *duplicate;