Crates.io | hunktool |
lib.rs | hunktool |
version | 0.4.1 |
source | src |
created_at | 2023-10-20 06:49:31.130677 |
updated_at | 2024-05-23 04:46:21.546548 |
description | A tool for finding strings in git patches/history |
homepage | https://github.com/TheBicPen/hunk |
repository | https://github.com/TheBicPen/hunk.git |
max_upload_size | |
id | 1008742 |
size | 331,717 |
A simple tool for filtering diff hunks.
To show only hunks that contain PATTERN, run ... | hunk PATTERN
where ...
produces a git-compatible diff.
Show hunks from the latest 10 commits of the current git branch that contain
the string "player": git log -p -n 10 --color | hunk player
cargo build
cargo test