summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
abd83a6)
No need to cause extra wear on storage devices.
my (undef, $dn, $bn) = File::Spec->splitpath($f);
$self->{chg}->{nr_chg} += scalar(@remote) + scalar(@local);
my (undef, $dn, $bn) = File::Spec->splitpath($f);
$self->{chg}->{nr_chg} += scalar(@remote) + scalar(@local);
- atomic_write($dn, $bn, join("\n", @list, ''));
+ my $new = join("\n", @list, '');
+ atomic_write($dn, $bn, $new) if $new ne $old;
}
# FIXME: this gets confused by single inbox instance w/ global manifest.js.gz
}
# FIXME: this gets confused by single inbox instance w/ global manifest.js.gz