forked from mirrors/jj
git_backend: remove redundant copy back of author timestamp
Only the committer timestamp can be updated inside a loop.
This commit is contained in:
parent
f5aa739c70
commit
1788b5014e
1 changed files with 2 additions and 3 deletions
|
@ -836,9 +836,8 @@ impl Backend for GitBackend {
|
|||
}
|
||||
}
|
||||
};
|
||||
// Update the signatures to match the ones that were actually written to the
|
||||
// object store
|
||||
contents.author.timestamp.timestamp = MillisSinceEpoch(author.when().seconds() * 1000);
|
||||
// Update the signature to match the one that was actually written to the object
|
||||
// store
|
||||
contents.committer.timestamp.timestamp =
|
||||
MillisSinceEpoch(committer.when().seconds() * 1000);
|
||||
let mut mut_table = table.start_mutation();
|
||||
|
|
Loading…
Reference in a new issue