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
|
// Update the signature to match the one that was actually written to the object
|
||||||
// object store
|
// store
|
||||||
contents.author.timestamp.timestamp = MillisSinceEpoch(author.when().seconds() * 1000);
|
|
||||||
contents.committer.timestamp.timestamp =
|
contents.committer.timestamp.timestamp =
|
||||||
MillisSinceEpoch(committer.when().seconds() * 1000);
|
MillisSinceEpoch(committer.when().seconds() * 1000);
|
||||||
let mut mut_table = table.start_mutation();
|
let mut mut_table = table.start_mutation();
|
||||||
|
|
Loading…
Reference in a new issue