mirror of
https://github.com/martinvonz/jj.git
synced 2024-09-11 13:56:29 +03:00
Fix style
This commit is contained in:
parent
d9bea13df7
commit
9fc674131f
@ -454,7 +454,7 @@ pub fn apply_diff_builtin(
|
||||
}),
|
||||
Some(Some(TreeValue::Symlink(_))) => Some(scm_record::FileMode(mode::SYMLINK)),
|
||||
Some(None) => {
|
||||
if contents == "" {
|
||||
if contents.is_empty() {
|
||||
None
|
||||
} else {
|
||||
file.get_file_mode()
|
||||
|
Loading…
Reference in New Issue
Block a user