Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Cannot commit message beginning with a hash (#) #2188

Description

@vitorandos

Prerequisites

Description

The commit button does not work when message begins with a hash (#).

For example:
git c

Steps to Reproduce

  1. Open GIT panel
  2. Stage changes
  3. Enter commit message starting with hash (#)
  4. Try to press commit button

Expected behavior:

Commit is executed.

Actual behavior:

Commit button does not work, ie, cannot press it.

Reproduces how often:

Always.

Versions

atom 1.38.2
git 2.21.0
macOS Mojave 10.14.5

Additional Information

Similar issue on #962. Since that one is closed, I was not sure if I should comment there or open another one and could not find anything on how to proceed on this case. Please let me know otherwise!
The issue is mentioned to be fixed on #1500, although I still encounter the bug.
Also, I have set core.commentChar to % and cleanup to verbatim on git config but I still get the same bug on Atom.
Might be related to #2182.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions