Commit graph

257 commits

Author SHA1 Message Date
tummychow
090d874977 fix release matrix 2024-11-03 13:33:36 -05:00
tummychow
f60b7dbb2c bump to 0.6.16 2024-11-03 13:28:34 -05:00
Stephen Jung
3b95af94b4
Merge pull request #128 from Pi-Cla/bump-ci
Bump actions and use not deprecated actions
2024-11-02 17:13:35 -04:00
Pi-Cla
81b2bb620f Bump actions and use not deprecated actions 2024-11-02 09:45:07 -06:00
Stephen Jung
1febd629a0
Merge pull request #124 from parched/patch-1
Add winget install to README.md
2024-10-19 16:52:38 -04:00
James Duley
09608b1d23
Add winget install to README.md 2024-10-18 14:42:29 +13:00
tummychow
664b2748e8 add --version back
fixes #115
2024-07-20 19:52:02 -04:00
tummychow
6ece38e95c bump 0.6.15 2024-07-07 20:04:20 -04:00
tummychow
94982e37e6 bump time for upstream issue 671 2024-07-07 20:02:52 -04:00
tummychow
5a6d0d7043 bump 0.6.14 2024-07-07 19:51:24 -04:00
tummychow
e85ef4d3c3 bump to git2 0.19.0 and libgit2 1.8.1 2024-07-07 19:50:35 -04:00
Stephen Jung
2e9c9c52a0
Merge pull request #113 from wxpppp/master
deps: bump libc from 0.2.153 to 0.2.155
2024-05-30 23:48:38 -04:00
wangweijie
70db5a4036 deps: bump libc from 0.2.153 to 0.2.155
Signed-off-by: wangweijie <wangweijie@loongson.cn>
2024-05-30 17:09:18 +08:00
Stephen Jung
00d301b6a6
Merge pull request #111 from Pi-Cla/add-badge
Add repology badge and openSUSE
2024-04-09 18:38:04 -04:00
Pi-Cla
d55b95a5b1 Add repology badge and openSUSE 2024-04-09 01:14:05 -06:00
Stephen Jung
3da0e7f3a4
Merge pull request #110 from ErichDonGubler/derived-clap-cli
refactor: use `derive` interface of `clap`
2024-04-06 15:37:21 -04:00
Erich Gubler
a851db8494
style: collapse braced completions match 2024-04-06 13:21:49 -04:00
Erich Gubler
05a847b4ee
refactor: s/args_clone/cmd/ 2024-04-06 13:21:49 -04:00
Erich Gubler
1bb7b45b44
refactor: use derive interface of clap 2024-04-06 13:21:49 -04:00
tummychow
2919c347f3 bump 0.6.13 2024-04-03 19:46:17 -04:00
Stephen Jung
a454f36358
Merge pull request #108 from Pi-Cla/patch-1
Apply cargo clippy lints
2024-03-31 15:58:36 -04:00
Pi-Cla
b2cbe0732d Apply cargo clippy lints 2024-03-31 13:22:46 -06:00
Stephen Jung
d259681518
Merge pull request #106 from Pi-Cla/add-nushell
Add nushell completions
2024-03-24 13:26:24 -04:00
Pi-Cla
3a19fec910 Add nushell completions 2024-03-24 04:44:59 -06:00
Stephen Jung
aca3e569aa
Merge pull request #105 from Pi-Cla/patch-1
Use get_flag instead of contains_id
2024-03-23 23:38:00 -04:00
Pi-Cla
30bede63ea
Use get_flag instead of contains_id
Turns out get_flag is the intended command when checking whether a flag is present rather than contains_id
2024-03-24 03:32:38 +00:00
Stephen Jung
69970637a3
Merge pull request #104 from Pi-Cla/edition-2021
Bump Rust edition, use caret requirements, upgrade to clap 4
2024-03-23 17:27:52 -04:00
Pi-Cla
ed21bed50a Upgrade to clap 4
I did this because clap 2 and 3 has a dependency on
atty which is unmaintained and has a potential security
vulnerability https://rustsec.org/advisories/RUSTSEC-2021-0145

clap 4 migration details:
- Arg::with_name() has been replaced with Arg::new()
- possible_values has been replaced with value_parser
- args.value_of has been replaced with args.get_one::<String>
- args.gen_completions_to() has been replaced with generate()
- The way we use args.is_present() means it is replaced with
  contains_id()
- Shell completion has been moved to the clap_complete crate

- app_from_crate! has been replaced with command!
  * Which now requires a the `cargo` feature flag to access

- line wrapping is now behind a feature flag `wrap_help`
  * Migration guide recommends we enable this or else
    we would need to manually implement line wrapping

- Args are now assumed to take values by default
  so in order to specify a flag
  we need to append .action(ArgAction::SetTrue) to each arg.
  * takes_value() has been removed
2024-03-22 16:14:26 -06:00
Pi-Cla
9a123f0037 Use Caret Requirements and run cargo update
It seems caret requirements is the default semver compatible strategy
https://doc.rust-lang.org/cargo/reference/specifying-dependencies.html#caret-requirements
2024-03-22 13:04:10 -06:00
Pi-Cla
f292695001 Set Rust edition to 2021
I ran `cargo msrv` and the minimum version of this crate
was 1.64.0 so bumping the Rust edition does not raise the minimum
2024-03-22 13:03:59 -06:00
Stephen Jung
ee143215df
Merge pull request #103 from halostatue/patch-1
Add MacPorts installation instructions
2024-02-27 18:57:11 -05:00
Austin Ziegler
f82c2c2f15
Add MacPorts installation instructions 2024-02-27 10:27:09 -05:00
Stephen Jung
64dda70b41
Merge pull request #102 from kiprasmel/always-sha
introduce git config option `absorb.fixupTargetAlwaysSHA`
2024-02-25 16:27:22 -05:00
Kipras Melnikovas
ceed565a99
introduce git config option absorb.fixupTargetAlwaysSHA
i've gotten used to SHAs and find them clearer & faster to identify than
commit summaries, simply because the messages can be similar meanwhile
shas differ very quickly.
2024-02-25 14:06:38 +02:00
tummychow
d29adcb33f bump 0.6.12 2024-02-23 19:07:41 -05:00
Stephen Jung
c8b3c8fe8c
Merge pull request #98 from kiprasmel/auto-add
autostage: automatically add everything to index if index was empty
2024-02-23 18:59:31 -05:00
Kipras Melnikovas
aac53554aa
improve warning if 0 patches considered: 2 possible scenarios
the warning didn't consider the case that some changes were staged,
but couldn't be applied.
2024-02-23 07:56:11 +02:00
Kipras Melnikovas
1f361115e1
autostage: enable behavior only if enabled via config 2024-02-23 07:56:11 +02:00
Kipras Melnikovas
e063fa885a
autostage: automatically add everything to index if index was empty
often times, i just want to try and absorb everything.

right now, this means an extra step of `git add .` before `git absorb`,
and potentially a `git reset @` later if not everything was fixed up.

in this patch we remove both of the extra step for convenience:
if nothing was staged, we stage everything, try to create fixups,
and whatever's left uncommitted - we unstage.
2024-02-23 06:59:20 +02:00
Stephen Jung
172ee0f152
Merge pull request #101 from kiprasmel/config-one-commit-per-fixup
introduce git config option `absorb.oneFixupPerCommit`
2024-02-22 22:29:12 -05:00
Kipras Melnikovas
d6128a307a
introduce git config option absorb.oneFixupPerCommit 2024-02-23 05:24:50 +02:00
Kipras Melnikovas
468d93b293
refactor git-config utils into config.rs 2024-02-23 05:23:30 +02:00
Stephen Jung
6562614845
Merge pull request #100 from kiprasmel/rebase-autostash
rebase: add `--autostash` arg to perform rebase even if uncommitted changes left
2024-02-22 21:19:01 -05:00
Kipras Melnikovas
399c747b10
rebase: add --autostash arg to perform rebase even if uncommitted changes left 2024-02-23 03:51:27 +02:00
Stephen Jung
4c30f10018
Merge pull request #99 from tummychow/dependabot/cargo/libgit2-sys-0.16.21.7.2
Bump libgit2-sys from 0.16.1+1.7.1 to 0.16.2+1.7.2
2024-02-12 17:27:08 -05:00
dependabot[bot]
1d664b7021
Bump libgit2-sys from 0.16.1+1.7.1 to 0.16.2+1.7.2
Bumps [libgit2-sys](https://github.com/rust-lang/git2-rs) from 0.16.1+1.7.1 to 0.16.2+1.7.2.
- [Changelog](https://github.com/rust-lang/git2-rs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/git2-rs/commits)

---
updated-dependencies:
- dependency-name: libgit2-sys
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-12 15:50:08 +00:00
tummychow
1c5aecfcc5 bump 0.6.11 2023-11-28 21:36:12 -05:00
tummychow
9baf661eed upgrade to git2 0.18.1 2023-11-28 21:35:35 -05:00
Stephen Jung
d84f5604eb
Merge pull request #94 from isomorpheme/patch-1
Simplify nixpkgs install command
2023-09-06 20:09:27 -04:00
Daan Rijks
fbc55da42e
Simplify nixpkgs install command
The package is available as an attribute on `nixpkgs` directly, plus it looks like `gitAndTools` is a deprecated alias.
2023-09-06 13:09:11 +02:00