Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

.gitcommittemplate is processed before the actual commit #77798

Closed
riweckr opened this issue Jul 23, 2019 · 1 comment
Closed

.gitcommittemplate is processed before the actual commit #77798

riweckr opened this issue Jul 23, 2019 · 1 comment
Assignees
Labels
git GIT issues

Comments

@riweckr
Copy link

riweckr commented Jul 23, 2019

Issue Type: Bug

  1. create a .gitcommittemplate e.g

    #a comment
    add/update/remove something

    nice description...

  2. create a new folder
  3. open this folder with vscode
  4. git init
  5. create a file
  6. go to "Source Control"

Current behavior:

The commit message is prefilled with

add/update/remove something
nice description...

Comments and newlines are removed.

Expected behavior:

  1. Unchanged content of .gitcommittemplate is prefilled. (As git does)
  2. Remove # lines after commit

VS Code version: Code 1.36.1 (2213894, 2019-07-08T22:55:08.091Z)
OS version: Linux x64 4.15.0-54-generic

@vscodebot vscodebot bot added the git GIT issues label Jul 23, 2019
@joaomoreno
Copy link
Member

joaomoreno commented Jul 25, 2019

Reason: #74222 (comment)

@vscodebot vscodebot bot locked and limited conversation to collaborators Sep 8, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
git GIT issues
Projects
None yet
Development

No branches or pull requests

2 participants