bigH / git-fuzzy

interactive `git` with the help of `fzf`
MIT License
2.3k stars 42 forks source link

Feature request: staging hunks #12

Closed asymmetric closed 2 years ago

asymmetric commented 4 years ago

It would be really cool to be able to stage hunks (parts of a diff) indepedently, simliar to the workflow exposed by git add -p.

bigH commented 3 years ago

I want this too. It'll take some time to write code that will split diffs into hunks and make it nice.

There is splitpatch. However, it's GPL-2 and therefore incompatible with MIT license of this project. I could expect that folks have this installed, but I find the file-based interface to be non-ideal.

asymmetric commented 2 years ago

@HirenHiranandani-at has this been implemented?