The sound distributed version control system

#779 Compilation warning when git enabled

Closed on February 7, 2024
tankf33der on March 17, 2023
...
...
   Compiling git2 v0.13.25
   Compiling thrussh-libsodium v0.2.1
   Compiling thrussh-keys v0.21.0
   Compiling thrussh v0.33.5
   Compiling pijul v1.0.0-beta.4 (/home/mpech/pijul/pijul)
warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp`: use `from_timestamp_opt()` instead
   --> pijul/src/commands/git.rs:744:40
    |
744 |                 chrono::NaiveDateTime::from_timestamp(signature.when().seconds(), 0),
    |                                        ^^^^^^^^^^^^^^
    |
    = note: `#[warn(deprecated)]` on by default

warning: `pijul` (bin "pijul") generated 1 warning
    Finished release [optimized] target(s) in 3m 15s
$ 
divagant-martian added a change on March 28, 2023
7XLYEK43SLCUB4FY7NGIK43XBJLJSRBOYGHPSJSDNICUIH6OR4AQC
pmeunier on February 7, 2024

Oops, this has been fixed independently. Sorry, and thanks for the patch anyway.

pmeunier closed this discussion on February 7, 2024