Commit fce80f1
committed
git-gui: add possibility to open currently selected file
...in the default associated app (e.g. in a text editor / IDE).
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:
- Diff header path context menu -> Open;
- or double-clicking the diff header path.
One "downside" of the approach is that executable files will be run
and not opened for editing.
Signed-off-by: Zoli Szabó <[email protected]>1 parent 23cbe42 commit fce80f1
1 file changed
+24
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2248 | 2248 | | |
2249 | 2249 | | |
2250 | 2250 | | |
2251 | | - | |
2252 | | - | |
| 2251 | + | |
| 2252 | + | |
2253 | 2253 | | |
2254 | 2254 | | |
2255 | 2255 | | |
| |||
2259 | 2259 | | |
2260 | 2260 | | |
2261 | 2261 | | |
| 2262 | + | |
| 2263 | + | |
| 2264 | + | |
| 2265 | + | |
| 2266 | + | |
| 2267 | + | |
2262 | 2268 | | |
2263 | 2269 | | |
2264 | 2270 | | |
| 2271 | + | |
| 2272 | + | |
| 2273 | + | |
| 2274 | + | |
| 2275 | + | |
| 2276 | + | |
| 2277 | + | |
| 2278 | + | |
| 2279 | + | |
| 2280 | + | |
2265 | 2281 | | |
2266 | 2282 | | |
2267 | 2283 | | |
| |||
3530 | 3546 | | |
3531 | 3547 | | |
3532 | 3548 | | |
| 3549 | + | |
| 3550 | + | |
| 3551 | + | |
| 3552 | + | |
| 3553 | + | |
3533 | 3554 | | |
3534 | 3555 | | |
| 3556 | + | |
3535 | 3557 | | |
3536 | 3558 | | |
3537 | 3559 | | |
| |||
0 commit comments