The default (undocumented) behavior of hardlink is to exclude from consideration any dotfiles with exactly 6 non-dot characters after the leading dot. This PR alters the code to preserve this historic behavior, excluding these files from consideration for hardlinking by default, but adds an option (-d) to include such files as hardlink candidates.
An alternative PR (from my dotfile-optin branch) includes such files by default, but uses the (-d) option to exhibit the historic undocumented behavior of excluding such files from consideration.
The default (undocumented) behavior of hardlink is to exclude from consideration any dotfiles with exactly 6 non-dot characters after the leading dot. This PR alters the code to preserve this historic behavior, excluding these files from consideration for hardlinking by default, but adds an option (-d) to include such files as hardlink candidates.
An alternative PR (from my dotfile-optin branch) includes such files by default, but uses the (-d) option to exhibit the historic undocumented behavior of excluding such files from consideration.