Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-16808

Ctrl+Enter can try to accept empty git commit

    XMLWordPrintable

Details

    Description

      Hello, friends!
      There is a little problem, that annoying me. I used to accept commits with ctrl+enter hotkey. When I try to accept empty commit (no message or no files were staged) the button "Commit x/y File(s)" is disabled, but ctrl+enter still works. After pressing ctrl+enter on empty commit there appears message box about closing git editor. If I press esc (I would like to close message and continue editing) the editor closes.

      IMHO it would be nice to inform me, that I'm trying to accept empty commit, but not ask to close the editor.

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              orgads Orgad Shaneh
              __heaven__ Dmitriy Babkov
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes