From: Sergey Poznyakoff Date: Mon, 29 Oct 2007 16:56:13 +0000 (+0000) Subject: (file_count_links): do nothing if hard_dereference_option is set. X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=eaaadcfd366e8620385944a251da932cf9c843bc;p=chaz%2Ftar (file_count_links): do nothing if hard_dereference_option is set. --- 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;