Skip to content

Notepad2 as editor gives logs and errors #517

@GerjanOnline

Description

@GerjanOnline

I am using:
Windows 10 x64
Git version 2.6.2.windows.1
Notepad2 x64 (this one overrides notepad)

.gitconfig

[core]
    editor = notepad
    autocrlf = true (also tried false)
  ...

When I do git config -e --global:

git config --global -e
unix2dos: C:/Users/user/.gitconfig MODE 0100644  (regular file)
unix2dos: using C:/Users/user/d2utmphK5NvM as temporary file
unix2dos: converting file C:/Users/user/.gitconfig to DOS format...
dos2unix: C:/Users/user/.gitconfig MODE 0100644  (regular file)
dos2unix: using C:/Users/user/d2utmpW2rV1K as temporary file
dos2unix: converting file C:/Users/user/.gitconfig to Unix format...

When i do git commit --amend (just to do a commit):

git commit --amend
unix2dos: path/public/.git/COMMIT_EDITMSG MODE 0100644  (regular file)
unix2dos: using path/public/.git/d2utmpX1LaLG as temporary file
unix2dos: converting file path/public/.git/COMMIT_EDITMSG to DOS format...
dos2unix: path/public/.git/COMMIT_EDITMSG MODE 0100644  (regular file)
dos2unix: using path/public/.git/d2utmpn8txZW as temporary file
dos2unix: converting file path/public/.git/COMMIT_EDITMSG to Unix format...
error: There was a problem with the editor 'notepad'.
Please supply the message using either -m or -F option.

Why do I get these messages? When I have atom as my editor it doesn't give me these messages...

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions