File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ checksum = "320119579fcad9c21884f5c4861d16174d0e06250625266f50fe6898340abefa"
1010
1111[[package ]]
1212name = " aigitcommit"
13- version = " 1.6.1 "
13+ version = " 1.6.5 "
1414dependencies = [
1515 " arboard" ,
1616 " askama" ,
@@ -263,9 +263,9 @@ checksum = "d71b6127be86fdcfddb610f7182ac57211d4b18a3e9c82eb2d17662f2227ad6a"
263263
264264[[package ]]
265265name = " cc"
266- version = " 1.2.41 "
266+ version = " 1.2.43 "
267267source = " registry+https://github.com/rust-lang/crates.io-index"
268- checksum = " ac9fe6cdbb24b6ade63616c0a0688e45bb56732262c158df3c0c4bea4ca47cb7 "
268+ checksum = " 739eb0f94557554b3ca9a86d2d37bebd49c5e6d0c1d2bda35ba5bdac830befc2 "
269269dependencies = [
270270 " find-msvc-tools" ,
271271 " jobserver" ,
@@ -586,9 +586,9 @@ checksum = "52051878f80a721bb68ebfbc930e07b65ba72f2da88968ea5c06fd6ca3d3a127"
586586
587587[[package ]]
588588name = " flate2"
589- version = " 1.1.4 "
589+ version = " 1.1.5 "
590590source = " registry+https://github.com/rust-lang/crates.io-index"
591- checksum = " dc5a4e564e38c699f2880d3fda590bedc2e69f3f84cd48b457bd892ce61d0aa9 "
591+ checksum = " bfe33edd8e85a12a67454e37f8c75e730830d83e313556ab9ebf9ee7fbeb3bfb "
592592dependencies = [
593593 " crc32fast" ,
594594 " miniz_oxide" ,
@@ -1277,9 +1277,9 @@ dependencies = [
12771277
12781278[[package ]]
12791279name = " moxcms"
1280- version = " 0.7.7 "
1280+ version = " 0.7.8 "
12811281source = " registry+https://github.com/rust-lang/crates.io-index"
1282- checksum = " c588e11a3082784af229e23e8e4ecf5bcc6fbe4f69101e0421ce8d79da7f0b40 "
1282+ checksum = " 692af879e4d9383c0fd9dec15524af6b6977c8bf1c6b278a4526d5341347c574 "
12831283dependencies = [
12841284 " num-traits" ,
12851285 " pxfm" ,
Original file line number Diff line number Diff line change 11[package ]
22name = " aigitcommit"
3- version = " 1.6.1 "
3+ version = " 1.6.5 "
44edition = " 2024"
55description = " A simple git commit message generator by OpenAI compaction model."
66license-file = " LICENSE"
Original file line number Diff line number Diff line change @@ -244,11 +244,10 @@ async fn main() -> std::result::Result<(), Box<dyn Error>> {
244244 if cli. commit {
245245 trace ! ( "commit option is enabled, will commit the changes to the repository" ) ;
246246
247- cliclack:: intro ( format ! ( "{PKG_NAME} v{PKG_VERSION}" ) ) ?;
248- let commit = cliclack:: confirm ( "Are you sure to commit with those changes?" ) . interact ( ) ?;
249-
250- // Prompt the user for confirmation if --yes option is not enabled
251- if cli. yes || commit {
247+ if cli. yes || {
248+ cliclack:: intro ( format ! ( "{PKG_NAME} v{PKG_VERSION}" ) ) ?;
249+ cliclack:: confirm ( "Are you sure to commit with those changes?" ) . interact ( ) ?
250+ } {
252251 match repository. commit ( & message) {
253252 Ok ( oid) => {
254253 cliclack:: note ( "Commit successful, last commit ID:" , oid) ?;
You can’t perform that action at this time.
0 commit comments