We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
core.symlinks
entry::Mode
1 parent 648022b commit c85b92dCopy full SHA for c85b92d
gix-index/src/entry/mode.rs
@@ -49,6 +49,7 @@ impl Mode {
49
) -> Option<Change> {
50
match self {
51
Mode::FILE if !stat.is_file() => (),
52
+ Mode::SYMLINK if stat.is_symlink() => return None,
53
Mode::SYMLINK if has_symlinks && !stat.is_symlink() => (),
54
Mode::SYMLINK if !has_symlinks && !stat.is_file() => (),
55
Mode::COMMIT | Mode::DIR if !stat.is_dir() => (),
0 commit comments