Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion patchparser/.rustsec-ignore.txt
2 changes: 1 addition & 1 deletion patchparser/src/patch/patch.rs
Original file line numberDiff line numberDiff line change
Expand Up@@ -174,7 +174,7 @@ impl<'a> PatchHeadHeader<'a> {
///
/// Returns the old value when the header was updated.
///
/// The new line contents is allocated from `allocator`.
/// The new line contents is allocated from `bump`.
pub fn update_header(
&mut self,
header_name: impl AsRef<BStr>,
Expand Down
6 changes: 6 additions & 0 deletions split-patch/.rustsec-ignore.txt
Original file line numberDiff line numberDiff line change
Expand Up@@ -9,3 +9,9 @@ RUSTSEC-2024-0384
# adler 1.0.2 affected by RUSTSEC-2025-0056 (unmaintained)
# -> only used for anyhow backtraces
RUSTSEC-2025-0056

# crossbeam-epoch 0.9.18 affected by RUSTSEC-2026-0204 (Invalid
# pointer dereference in `fmt::Pointer` impl for `Atomic` and `Shared`
# when the underlying pointer is invalid)
# -> currently only using rayon for the tests
RUSTSEC-2026-0204
22 changes: 7 additions & 15 deletions split-patch/test/test-split-patches-in-dir.rs
Original file line numberDiff line numberDiff line change
Expand Up@@ -47,32 +47,24 @@ fn main() -> Result<()> {
fs::create_dir_all(args.output_base.clone()).expect("creating output_base directory");

let output_base = args.output_base;
let common = || SplitArgs {
monotonous_numbers: true,
..Default::default()
};
let split_args = [
(
"--",
SplitArgs {
hunks: false,
changes: false,
monotonous_numbers: true,
..Default::default()
},
),
("--", SplitArgs { ..common() }),
(
"--hunks",
SplitArgs {
hunks: true,
changes: false,
monotonous_numbers: true,
..Default::default()
..common()
},
),
(
"--changes",
SplitArgs {
hunks: false,
changes: true,
monotonous_numbers: true,
..Default::default()
..common()
},
),
];
Expand Down
Loading