On Tue, Dec 14, 2010 at 3:38 PM, Jeff King <peff@xxxxxxxx> wrote: > You can't do this with "git add -p" now, but I suspect the patch would > be relatively straightforward. See patch_update_file in > git-add--interactive.perl. You just need to replace: > > for (@{$head->{DISPLAY}}) { > print; > } > > with code to dump the diff in @{$head->{TEXT}} either to stdin of your > display program or to a tempfile that your program operates on. > Conditional on having some config option to specify your program, of > course. That's exactly what I want, thanks. Seems like there should be a flag / config that tells `add --interactive` to render the diffs through a difftool. I know several Git users who always use their difftools for large, complex patches, which are exactly the kind of patches you'd manage with --interactive / --patch. Hope one of you Git bigwigs takes the time to add that feature :-) .D -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html