Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
vscode: wrap commit messages at column 72 by default
author
Johannes Schindelin
<johannes.schindelin@gmx.de>
Mon, 30 Jul 2018 15:42:54 +0000
(08:42 -0700)
committer
Junio C Hamano
<gitster@pobox.com>
Mon, 30 Jul 2018 20:14:39 +0000
(13:14 -0700)
When configuring VS Code as core.editor (via `code --wait`), we really
want to adhere to the Git conventions of wrapping commit messages.
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
contrib/vscode/init.sh
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(parent:
0f47f78
)
diff --git
a/contrib/vscode/init.sh
b/contrib/vscode/init.sh
index ba946922681e62814f30ad814a76acfea978f424..face115e89022c5153728925e00a53368294d573 100755
(executable)
--- a/
contrib/vscode/init.sh
+++ b/
contrib/vscode/init.sh
@@
-17,6
+17,10
@@
cat >.vscode/settings.json.new <<\EOF ||
{
"C_Cpp.intelliSenseEngine": "Default",
"C_Cpp.intelliSenseEngineFallback": "Disabled",
+ "[git-commit]": {
+ "editor.wordWrap": "wordWrapColumn",
+ "editor.wordWrapColumn": 72
+ },
"files.associations": {
"*.h": "c",
"*.c": "c"