After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 761699 - Opening a file from gitg in other applications is very inconvenient.
Opening a file from gitg in other applications is very inconvenient.
Status: RESOLVED FIXED
Product: gitg
Classification: Applications
Component: gitg
git master
Other Linux
: Normal minor
: ---
Assigned To: gitg-maint
gitg-maint
Depends on:
Blocks:
 
 
Reported: 2016-02-08 09:35 UTC by Gerrit Addiks
Modified: 2016-08-19 08:56 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Gerrit Addiks 2016-02-08 09:35:45 UTC
Short: There should be a way to directly open a file from gitg in other programs.

The user currently either has to open a file-browser and navigate to the file the long way or (like with gedit) open the file using the file-open-dialog and also have to navigate to the file, even if it is already open in gitg. This should be easier!

There are two functions i would like to see implemented in gitg:
 - There should be a way to open a file from gitg directly in gedit (Or whichever editor the user uses).
 - It should be possible to get the (absolute and/or relative to workspace) file-path of a file from the git history to be used in other applications (like bash, ghex or gimp).
Comment 1 jessevdk@gmail.com 2016-06-05 10:28:57 UTC
In the commit view, you can already open a file in an editor by activating "Edit" from the context menu of the file. This does not really work in general for the history view, since commits don't necessarily reflect the workspace. I suppose we can still offer the action even if the file might does not exist (different branch, different checkout, etc.). I agree that copying the file path can be quite useful.
Comment 2 jessevdk@gmail.com 2016-08-19 08:56:09 UTC
Added open file, open containing folder and copy file path as context menu items for files in the diff view