Currently, when running devenv init in a folder that already contains a .gitignore file the first line of the additions is written at the end of the last line of the existing file. If the existing file does not end with a newline, the # Devenv comment is appened at the end of the line.
Currently, when running
devenv init
in a folder that already contains a.gitignore
file the first line of the additions is written at the end of the last line of the existing file. If the existing file does not end with a newline, the# Devenv
comment is appened at the end of the line.Example:
An existing
.gitignore
(no newline at EOF) will result in: