Commit 081d10b2 authored by Ben Boeckel's avatar Ben Boeckel

prepare: use the Copy impl of DateTime

parent 7da70e8a
Pipeline #78352 passed with stage
# v4.0.0 (unreleased)
* The `MergeCommand::author_date` method now takes a `DateTime<Utc>` rather
than a reference.
# v3.1.2
* More submodule name/path mismatch fixes.
......@@ -83,7 +83,7 @@ impl MergeCommand {
/// Set the authorship date of the merge.
pub fn author_date(&mut self, when: &DateTime<Utc>) -> &mut Self {
pub fn author_date(&mut self, when: DateTime<Utc>) -> &mut Self {
.env("GIT_AUTHOR_DATE", when.to_rfc2822());
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment