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

Staging the removal of multiple trailing newlines #80150

Merged
merged 2 commits into from
Jun 10, 2020

Conversation

utsavm9
Copy link
Contributor

@utsavm9 utsavm9 commented Aug 31, 2019

#79910 describes that when we try to stage the removal of 2 or more mew lines at the end of file, one of the new lines does not gets staged.

The bug-fix for staging the removal of a single trailing newline was already present in code with #59670. I correct it to work with multiple trailing newlines removal.

@joaomoreno joaomoreno added the git GIT issues label Sep 2, 2019
@joaomoreno joaomoreno added this to the Backlog milestone Sep 2, 2019
@joaomoreno joaomoreno modified the milestones: Backlog, May 2020 Jun 10, 2020
@joaomoreno joaomoreno merged commit 19dcc79 into microsoft:master Jun 10, 2020
@joaomoreno
Copy link
Member

Thanks! 🍻

@github-actions github-actions bot locked and limited conversation to collaborators Jul 25, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
git GIT issues
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants