Here's how I set up gedit as my editor and it works as expected:
git config --global --unset-all core.editor
git config --global --add core.editor "gedit -w"
Running on 14.04 64 bit (Mint).
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed
I am running on 16.04 64 bit.
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gedit in Ubuntu.
https://bugs.launchpad.net/bugs/1100415
Title:
"git commit" fails if gedit is already opened
Status in gedit package in Ubuntu:
This bug still exists and is not just a configuration issue. If you set
the global git configuration to core.editor="gedit -w -s", you will get
the following result:
jonathan@Aristotle:~/EclipseWorkspaces/AGI$ git commit -sS --status
Failed to register:
This is not a bug but a wrong configuration issue.
Most editors (including gedit, subl, atom ) should be configured with -w
(--wait) parameter.
From gedit -h:
-w, --waitOpen files and block process until
files are closed
So the configuration command should be like
Status changed to 'Confirmed' because the bug affects multiple users.
** Changed in: gedit (Ubuntu)
Status: New = Confirmed
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gedit in Ubuntu.
https://bugs.launchpad.net/bugs/1100415
5 matches
Mail list logo