You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
git-extra: wrap 'notepad' so it can serve as Git's editor
Windows' notepad.exe handles only DOS line endings and it cannot wrap
any lines. That makes it less useful as a commit message editor.
So let's wrap it in a shell script that adds DOS line endings before,
and strips them after running notepad.exe.
Also, to make it appropriate as commit message editor, interpret a
new config variable "format.commitMessageColumns" and line-wrap the
commit message accordingly.
This very commit message, in fact, was written using that notepad
wrapper with "format.commitMessageColumns" set to 72.
Signed-off-by: Johannes Schindelin <[email protected]>
0 commit comments