Commit 5e6be9f
committed
git-gui: allow opening currently selected file in default app
Many times there's the need to quickly open a source file (the one you're
looking at in Git GUI) in the predefined text editor / IDE. Of course,
the file can be searched for in your preferred file manager or directly
in the text editor, but having the option to directly open the current
file from Git GUI would be just faster. This change enables just that by:
- clicking the diff header path (which is now highlighted as a hyperlink)
- or diff header path context menu -> Open.
Note: executable files will be run and not opened for editing.
Signed-off-by: Zoli Szabó <[email protected]>1 parent 23cbe42 commit 5e6be9f
1 file changed
+25
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2248 | 2248 | | |
2249 | 2249 | | |
2250 | 2250 | | |
2251 | | - | |
2252 | | - | |
2253 | | - | |
| 2251 | + | |
| 2252 | + | |
2254 | 2253 | | |
2255 | 2254 | | |
2256 | 2255 | | |
| |||
2259 | 2258 | | |
2260 | 2259 | | |
2261 | 2260 | | |
2262 | | - | |
| 2261 | + | |
| 2262 | + | |
| 2263 | + | |
| 2264 | + | |
| 2265 | + | |
| 2266 | + | |
| 2267 | + | |
| 2268 | + | |
| 2269 | + | |
| 2270 | + | |
| 2271 | + | |
| 2272 | + | |
| 2273 | + | |
| 2274 | + | |
| 2275 | + | |
2263 | 2276 | | |
2264 | 2277 | | |
2265 | 2278 | | |
| |||
3513 | 3526 | | |
3514 | 3527 | | |
3515 | 3528 | | |
3516 | | - | |
| 3529 | + | |
3517 | 3530 | | |
3518 | | - | |
| 3531 | + | |
| 3532 | + | |
| 3533 | + | |
3519 | 3534 | | |
3520 | 3535 | | |
3521 | 3536 | | |
| |||
3530 | 3545 | | |
3531 | 3546 | | |
3532 | 3547 | | |
| 3548 | + | |
| 3549 | + | |
| 3550 | + | |
3533 | 3551 | | |
3534 | 3552 | | |
| 3553 | + | |
3535 | 3554 | | |
3536 | 3555 | | |
3537 | 3556 | | |
| |||
0 commit comments