It has been shown in this forum that gitk works with the native OS keys to copy/paste for example into the SHA1 ID line: see
unable to copy and paste in gitk – macosx and How to copy text in gitk
My question is why doesn’t this functionality appear in a menu item under Edit?
Is there some blockage to being able to do that?
See also this reference for a good overview of gitk in the answers:
Guide to understanding gitk?
Regarding copy/paste support between Tk and other Apps, this wiki page sums it up:
So copy/paste between an app and a Tk app might not be easy right now…
Original answer:
Having work with
gitkall day long today, I can see there is no “focus” even on the left-bottom panel ofgitk, where diff of content are displayed.I.e. clicking in that panel doesn’t trigger anything for the other panels.
In other words, the
gitkGUI doesn’t monitor the mouse click/selection events in that panel, and only native clipboard capability applies in it.It seems coherent that the ‘
Edit‘ menu don’t reflect any copy/paste entry, sincegitkdon’t monitor those selections events.As it is, ‘
Edit‘ is only there to edit the preferences.