[Desktop-packages] [Bug 1100415] Re: "git commit" fails if gedit is already opened

2016-05-22 Thread Nirav
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 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:
  Confirmed

Bug description:
  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)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gedit/+bug/1100415/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 1100415] Re: "git commit" fails if gedit is already opened

2016-05-18 Thread Jonathan Gossage
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:
  Confirmed

Bug description:
  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)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gedit/+bug/1100415/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 1100415] Re: "git commit" fails if gedit is already opened

2016-05-18 Thread Jonathan Gossage
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: GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: 
Method "DescribeAll" with signature "" on interface "org.gtk.Actions" doesn't 
exist

error: There was a problem with the editor 'gedit -w -s'.
Please supply the message using either -m or -F option.

This will happen whether gedit is already open or not.

-- 
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:
  Confirmed

Bug description:
  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)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gedit/+bug/1100415/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 1100415] Re: git commit fails if gedit is already opened

2015-07-24 Thread Nick Volynkin
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 this:

git config --global core.editor gedit -w

-- 
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:
  Confirmed

Bug description:
  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)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gedit/+bug/1100415/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 1100415] Re: git commit fails if gedit is already opened

2013-02-19 Thread Launchpad Bug Tracker
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

Title:
  git commit fails if gedit is already opened

Status in “gedit” package in Ubuntu:
  Confirmed

Bug description:
  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)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gedit/+bug/1100415/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp