Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

git add -i: handle CR/LF line endings in the interactive input #2730

Merged
merged 1 commit into from Jul 2, 2020

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 <johannes.schindelin@gmx.de>
@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 Apr 22, 2024
git add -i: handle CR/LF line endings in the interactive input
git-for-windows-ci pushed a commit that referenced this pull request Apr 22, 2024
git add -i: handle CR/LF line endings in the interactive input
git-for-windows-ci pushed a commit that referenced this pull request Apr 23, 2024
git add -i: handle CR/LF line endings in the interactive input
git-for-windows-ci pushed a commit that referenced this pull request Apr 23, 2024
git add -i: handle CR/LF line endings in the interactive input
git-for-windows-ci pushed a commit that referenced this pull request Apr 24, 2024
git add -i: handle CR/LF line endings in the interactive input
dscho added a commit to microsoft/git that referenced this pull request Apr 24, 2024
git add -i: handle CR/LF line endings in the interactive input
git-for-windows-ci pushed a commit that referenced this pull request Apr 24, 2024
git add -i: handle CR/LF line endings in the interactive input
dscho added a commit that referenced this pull request Apr 25, 2024
git add -i: handle CR/LF line endings in the interactive input
git-for-windows-ci pushed a commit that referenced this pull request Apr 25, 2024
git add -i: handle CR/LF line endings in the interactive input
git-for-windows-ci pushed a commit that referenced this pull request Apr 25, 2024
git add -i: handle CR/LF line endings in the interactive input
dscho added a commit that referenced this pull request Apr 25, 2024
git add -i: handle CR/LF line endings in the interactive input
git-for-windows-ci pushed a commit that referenced this pull request Apr 25, 2024
git add -i: handle CR/LF line endings in the interactive input
git-for-windows-ci pushed a commit that referenced this pull request Apr 26, 2024
git add -i: handle CR/LF line endings in the interactive input
git-for-windows-ci pushed a commit that referenced this pull request Apr 26, 2024
git add -i: handle CR/LF line endings in the interactive input
git-for-windows-ci pushed a commit that referenced this pull request Apr 26, 2024
git add -i: handle CR/LF line endings in the interactive input
git-for-windows-ci pushed a commit that referenced this pull request Apr 26, 2024
git add -i: handle CR/LF line endings in the interactive input
git-for-windows-ci pushed a commit that referenced this pull request Apr 26, 2024
git add -i: handle CR/LF line endings in the interactive input
git-for-windows-ci pushed a commit that referenced this pull request Apr 27, 2024
git add -i: handle CR/LF line endings in the interactive input
git-for-windows-ci pushed a commit that referenced this pull request Apr 27, 2024
git add -i: handle CR/LF line endings in the interactive input
git-for-windows-ci pushed a commit that referenced this pull request Apr 29, 2024
git add -i: handle CR/LF line endings in the interactive input
git-for-windows-ci pushed a commit that referenced this pull request Apr 29, 2024
git add -i: handle CR/LF line endings in the interactive input
dscho added a commit to microsoft/git that referenced this pull request Apr 29, 2024
git add -i: handle CR/LF line endings in the interactive input
git-for-windows-ci pushed a commit that referenced this pull request Apr 29, 2024
git add -i: handle CR/LF line endings in the interactive input
git-for-windows-ci pushed a commit that referenced this pull request Apr 29, 2024
git add -i: handle CR/LF line endings in the interactive input
git-for-windows-ci pushed a commit that referenced this pull request May 1, 2024
git add -i: handle CR/LF line endings in the interactive input
git-for-windows-ci pushed a commit that referenced this pull request May 1, 2024
git add -i: handle CR/LF line endings in the interactive input
git-for-windows-ci pushed a commit that referenced this pull request May 1, 2024
git add -i: handle CR/LF line endings in the interactive input
git-for-windows-ci pushed a commit that referenced this pull request May 4, 2024
git add -i: handle CR/LF line endings in the interactive input
git-for-windows-ci pushed a commit that referenced this pull request May 4, 2024
git add -i: handle CR/LF line endings in the interactive input
git-for-windows-ci pushed a commit that referenced this pull request May 9, 2024
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