← Back to team overview

aims team mailing list archive

[Bug 1100415] [NEW] "git commit" fails if gedit is already opened

 

You have been subscribed to a public bug by Jan Groenewald (jan-aims):

Steps to reproduce:
1) Open gedit
2) Go to git directory
3) Change a tracked file (file.c)
4) Execute "git add file.c"
5) Set gedit as default editor with "git config --global core.editor gedit"
5) Then "git commit"

Expected result:
gedit opens, user adds comment, saves the file and successfully ends commit:
"[master 31c21eb] USER COMMENT GOES HERE
 1 file changed, 1 insertion(+), 1 deletion(-)"

Current result:
After gedit is opened git immediately outputs following message:
"Aborting commit due to empty commit message."

It's a common issue when using gedit with git; not related to Linux
distro or its architecture (x86 or x86-64)

** Affects: gedit (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: gedit git
-- 
"git commit" fails if gedit is already opened
https://bugs.launchpad.net/bugs/1100415
You received this bug notification because you are a member of AIMS, which is subscribed to the bug report.