Skip to content

Conversation

@dscho
Copy link
Member

@dscho dscho commented Jul 2, 2020

As of Git for Windows v2.27.0, there is an option to use Windows' newly-introduced Pseudo Console support. When running an interactive add operation with this support enabled, Git will receive CR/LF line
endings.

Therefore, let's not pretend that we are expecting Unix line endings.

This fixes #2729

As of Git for Windows v2.27.0, there is an option to use Windows'
newly-introduced Pseudo Console support. When running an interactive add
operation with this support enabled, Git will receive CR/LF line
endings.

Therefore, let's not pretend that we are expecting Unix line endings.

This fixes git-for-windows#2729

Signed-off-by: Johannes Schindelin <[email protected]>
@dscho dscho added this to the Next release milestone Jul 2, 2020
@dscho dscho merged commit 63ec52b into git-for-windows:main Jul 2, 2020
@dscho dscho deleted the crlf-aware-git-add-i branch July 2, 2020 20:46
git-for-windows-ci pushed a commit that referenced this pull request Jul 2, 2020
git add -i: handle CR/LF line endings in the interactive input
git-for-windows-ci pushed a commit that referenced this pull request Jul 2, 2020
git add -i: handle CR/LF line endings in the interactive input
dscho added a commit that referenced this pull request Jul 2, 2020
git add -i: handle CR/LF line endings in the interactive input
git-for-windows-ci pushed a commit that referenced this pull request Jul 3, 2020
git add -i: handle CR/LF line endings in the interactive input
git-for-windows-ci pushed a commit that referenced this pull request Jul 3, 2020
git add -i: handle CR/LF line endings in the interactive input
git-for-windows-ci pushed a commit that referenced this pull request Jul 3, 2020
git add -i: handle CR/LF line endings in the interactive input
git-for-windows-ci pushed a commit that referenced this pull request Jul 7, 2020
git add -i: handle CR/LF line endings in the interactive input
git-for-windows-ci pushed a commit that referenced this pull request Jul 7, 2020
git add -i: handle CR/LF line endings in the interactive input
git-for-windows-ci pushed a commit that referenced this pull request Jul 7, 2020
git add -i: handle CR/LF line endings in the interactive input
git-for-windows-ci pushed a commit that referenced this pull request Jul 7, 2020
git add -i: handle CR/LF line endings in the interactive input
dscho added a commit that referenced this pull request Jul 8, 2020
git add -i: handle CR/LF line endings in the interactive input
git-for-windows-ci pushed a commit that referenced this pull request Jul 9, 2020
git add -i: handle CR/LF line endings in the interactive input
dscho added a commit that referenced this pull request Jul 9, 2020
git add -i: handle CR/LF line endings in the interactive input
git-for-windows-ci pushed a commit that referenced this pull request Jul 16, 2025
git add -i: handle CR/LF line endings in the interactive input
git-for-windows-ci pushed a commit that referenced this pull request Jul 16, 2025
git add -i: handle CR/LF line endings in the interactive input
dscho added a commit that referenced this pull request Jul 17, 2025
git add -i: handle CR/LF line endings in the interactive input
git-for-windows-ci pushed a commit that referenced this pull request Jul 17, 2025
git add -i: handle CR/LF line endings in the interactive input
dscho added a commit that referenced this pull request Jul 19, 2025
git add -i: handle CR/LF line endings in the interactive input
git-for-windows-ci pushed a commit that referenced this pull request Jul 21, 2025
git add -i: handle CR/LF line endings in the interactive input
git-for-windows-ci pushed a commit that referenced this pull request Jul 21, 2025
git add -i: handle CR/LF line endings in the interactive input
git-for-windows-ci pushed a commit that referenced this pull request Jul 22, 2025
git add -i: handle CR/LF line endings in the interactive input
git-for-windows-ci pushed a commit that referenced this pull request Jul 22, 2025
git add -i: handle CR/LF line endings in the interactive input
dscho added a commit that referenced this pull request Jul 23, 2025
git add -i: handle CR/LF line endings in the interactive input
git-for-windows-ci pushed a commit that referenced this pull request Jul 23, 2025
git add -i: handle CR/LF line endings in the interactive input
git-for-windows-ci pushed a commit that referenced this pull request Jul 23, 2025
git add -i: handle CR/LF line endings in the interactive input
git-for-windows-ci pushed a commit that referenced this pull request Jul 24, 2025
git add -i: handle CR/LF line endings in the interactive input
git-for-windows-ci pushed a commit that referenced this pull request Jul 24, 2025
git add -i: handle CR/LF line endings in the interactive input
git-for-windows-ci pushed a commit that referenced this pull request Jul 24, 2025
git add -i: handle CR/LF line endings in the interactive input
dscho added a commit that referenced this pull request Jul 25, 2025
git add -i: handle CR/LF line endings in the interactive input
git-for-windows-ci pushed a commit that referenced this pull request Jul 25, 2025
git add -i: handle CR/LF line endings in the interactive input
git-for-windows-ci pushed a commit that referenced this pull request Jul 25, 2025
git add -i: handle CR/LF line endings in the interactive input
git-for-windows-ci pushed a commit that referenced this pull request Jul 28, 2025
git add -i: handle CR/LF line endings in the interactive input
git-for-windows-ci pushed a commit that referenced this pull request Jul 28, 2025
git add -i: handle CR/LF line endings in the interactive input
git-for-windows-ci pushed a commit that referenced this pull request Jul 28, 2025
git add -i: handle CR/LF line endings in the interactive input
git-for-windows-ci pushed a commit that referenced this pull request Jul 28, 2025
git add -i: handle CR/LF line endings in the interactive input
git-for-windows-ci pushed a commit that referenced this pull request Jul 28, 2025
git add -i: handle CR/LF line endings in the interactive input
dscho added a commit that referenced this pull request Aug 1, 2025
git add -i: handle CR/LF line endings in the interactive input
dscho added a commit that referenced this pull request Aug 1, 2025
git add -i: handle CR/LF line endings in the interactive input
git-for-windows-ci pushed a commit that referenced this pull request Aug 1, 2025
git add -i: handle CR/LF line endings in the interactive input
git-for-windows-ci pushed a commit that referenced this pull request Aug 3, 2025
git add -i: handle CR/LF line endings in the interactive input
git-for-windows-ci pushed a commit that referenced this pull request Aug 3, 2025
git add -i: handle CR/LF line endings in the interactive input
dscho added a commit that referenced this pull request Aug 3, 2025
git add -i: handle CR/LF line endings in the interactive input
git-for-windows-ci pushed a commit that referenced this pull request Aug 4, 2025
git add -i: handle CR/LF line endings in the interactive input
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

'git add --interactive' built-in doesn't exit list menu on empty input

1 participant