tags 522361 + upstream patch thanks Hi Kurt,
Jonathan Nieder wrote: > Kurt Roeckx wrote regarding bug #518661: >> diff also has this annoying feature that if you add >> a new function, the diff will start with adding something >> to the end of the function before it, and keep the end >> of the previous function for the new function. > > Maybe a facility to use "git diff --patience" output would help. > > From time to time I find myself using diff --patience / apply to do > the work of git add -p by hand, so I know I at least would find it > useful. I ended up needing this today, so I mocked something up. No documentation and no tests yet, and I would like to write those before I send this upstream. But it’s at least usable. If you have a chance to try it out, I’d be interested to hear how well it works for you. Jonathan Nieder (3): Teach add--interactive helper to use patience diff Teach --patience option to add--interactive callers Teach git add --edit the new --patience option builtin-add.c | 24 ++++++++++++++++++------ builtin-checkout.c | 14 +++++++++----- builtin-commit.c | 5 +++-- builtin-reset.c | 10 ++++++---- commit.h | 5 +++-- git-add--interactive.perl | 32 ++++++++++++++++++++++++-------- 6 files changed, 63 insertions(+), 27 deletions(-) -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org