jonas/tig — pull request #68 by v0n (2012-07-07 17:25:29+00:00)
Title: Edit in diff

Hi Jonas,

I've written a patchset initially to add the support to open the editor from within the diff view. This is really helpful in a large repository, where I use the log to recall and re-edit a pathname. I figured out that some cases (e.g. copy, delete) didn't handle very well the changed file, resulting in this text in the status line:

Diff of '(null)'

I've fixed that and added the editor support for the diff view. It adds a diff_get_pathname() function and simplify diff_select(), which also avoids return statements.

Cheers,
Vivien.