Debian Patches
Status for stgit/2.6.1-1.1
| Patch | Description | Author | Forwarded | Bugs | Origin | Last update |
|---|---|---|---|---|---|---|
| use_editor_as_default | Debian patch, the best default editor is editor | Yann Dirson <dirson@debian.org> | not-needed | 2014-03-26 | ||
| disable_interactive_test | Disable test calling editor Upstream uses vi as the default editor, while the debian packages default to the editor command, thus the different behavior. |
Maximiliano Curia <maxy@debian.org> | not-needed | 2014-03-26 | ||
| use_bzip2_crate | Use the bzip2 crate instead of bzip2-rs Replace the bzip2-rs pure-Rust bzip2 implementation with the bzip2 crate (C bindings to libbz2 via bzip2-sys), which is already packaged in Debian as librust-bzip2-dev. The API is a drop-in replacement: bzip2::read::BzDecoder is equivalent to bzip2_rs::DecoderReader for streaming decompression. =================================================================== |
no | 2026-06-01 | |||
| use_winnow_0_7 | Downgrade winnow dependency from 1.0 to 0.7 winnow 1.0 introduced optional feature gates for the ascii and parser combinator modules, but stgit does not need any 1.0-specific APIs. All APIs used by stgit (ModalResult, ContextError, ErrMode, the combinator and ascii modules, Stream::iter_offsets/next_token/next_slice/checkpoint/reset) are present in winnow 0.7, which is the version packaged in Debian as librust-winnow-dev. =================================================================== |
no | 2026-06-06 | |||
| gix-0.86.patch | Port to gix 0.86 Bump the gix crate from 0.84 to 0.86 and update call sites for the gix-config 0.59 API that gix 0.86 re-exports. A version-only bump does not compile. . gix::config::File no longer takes a lifetime, so File<'static> and CommitOptions<'_> lose that parameter. Snapshot::string() now returns Option<BString> rather than Option<Cow<BStr>>, so CommitOptions stores BString and for_label() takes s.as_ref(). . Snapshot::string_by and boolean_by are gone. Look up dotted keys with string() / boolean() / try_boolean(), which stgit already uses for keys such as branch.{name}.remote. try_boolean() is Result<Option<bool>> rather than Option<Result<bool>>, so drop the extra transpose() on the autostash lookups. . SectionRef::num_values() moved to BodyRef (section.body().num_values()). value_names() yields String rather than BStr, so skip to_str() and pass the name through to value(). File::rename_section's new subsection is IntoBStringOpt (Option<BString>), not Option<Cow<BStr>>. . Snapshot::trusted_path returns Result<Option<PathBuf>, _> instead of an Option that needs transpose(). Hook path construction can use PathBuf directly; editor lookup maps PathBuf with into_os_string(). |
Simon Quigley <tsimonq2@debian.org> | yes | debian | vendor | 2026-08-20 |
