question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Only the first line makes it to the final commit message

See original GitHub issue

My commits are only saving the first line of the final message; the body is missing.

I don’t have any extension configuration set in this repo/environment.


Fails in 0.9.3:

093-log

093-message


Works in 0.8.4:

084-log

084-message


VSCode Version:

Version: 1.47.3 (user setup)
Commit: 91899dcef7b8110878ea59626991a18c8a6a1b3e
Date: 2020-07-23T13:12:49.994Z
Electron: 7.3.2
Chrome: 78.0.3904.130
Node.js: 12.8.1
V8: 7.8.279.23-electron.0
OS: Windows_NT x64 10.0.17134

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:2
  • Comments:14 (4 by maintainers)

github_iconTop GitHub Comments

4reactions
KnisterPetercommented, Feb 11, 2021

I’ll merge it today and create a release

2reactions
cgatiancommented, Aug 27, 2020

If execa is configured with shell is set to false, and quoteMessageInGitCommit is false the command works properly.

Version: 1.48.2 (system setup)
Commit: a0479759d6e9ea56afa657e454193f72aef85bd0
Date: 2020-08-25T10:13:11.295Z
Electron: 7.3.2
Chrome: 78.0.3904.130
Node.js: 12.8.1
V8: 7.8.279.23-electron.0
OS: Windows_NT x64 10.0.18363
Read more comments on GitHub >

github_iconTop Results From Across the Web

amend always removes first line in commit-message in VIM
This is one line in the shell and instructs git to use VIM without configuration only for this invocation via the environment variable....
Read more >
Squash commits only picks the first line in the commit message
Create two commits on the same branch, with multiline commit messages; Squash the commits; The Edit message commit dialog will only have the...
Read more >
Git: Get first line of commit message from shell - acdcjunior's
Git: Get first line of commit message from shell ; You should have an empty line after the first line to separate title...
Read more >
How to write a Git commit message properly with examples
Limit the subject line to 50 characters. · Capitalize only the first letter in the subject line. · Don't put a period at...
Read more >
You can only rewrite the final commit message in the web UI ...
The merge request's title if no multi-line commit message is found. Note: This only takes effect if there are at least 2 commits....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found