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

test42: set cpo+=S, add to .gitattributes #5072

Closed
wants to merge 1 commit into from
Closed

Conversation

blueyed
Copy link

@blueyed blueyed commented Oct 17, 2019

  • "set cpo+=S" is implied via vim -u … used to run the tests (which
    uses nocompatible), but makes sense to have it explicit, since it
    caused confusion when failing with Neovim
    ([RFC] Fix oldtest on Windows neovim/neovim#10679 (comment)).

  • force textual diff via .gitattributes - otherwise Git (2.23.0)
    considers it to be binary.

- "set cpo+=S" is implied via `vim -u …` used to run the tests (which
  uses `nocompatible`), but makes sense to have it explicit, since it
  caused confusion when failing with Neovim
  (neovim/neovim#10679 (comment)).

- force textual diff via .gitattributes - otherwise Git (2.23.0)
  considers it to be binary.
@blueyed blueyed changed the title test42: set nocompatible, add to .gitattributes test42: set cpo+=S, add to .gitattributes Oct 18, 2019
@brammool brammool closed this in 5b39d7a Oct 19, 2019
blueyed added a commit to blueyed/neovim that referenced this pull request Oct 19, 2019
Problem:    Test42 seen as binary by git diff.
Solution:   Add .gitattributes file.  Make explicit that 'cpo' does not
            contain 'S'. (Daniel Hahler, closes vim/vim#5072)
vim/vim@5b39d7a
justinmk pushed a commit to neovim/neovim that referenced this pull request Oct 19, 2019
Problem:    Test42 seen as binary by git diff.
Solution:   Add .gitattributes file.  Make explicit that 'cpo' does not
            contain 'S'. (Daniel Hahler, closes vim/vim#5072)
vim/vim@5b39d7a
manuelschiller pushed a commit to manuelschiller/vim that referenced this pull request Nov 10, 2019
Problem:    Test42 seen as binary by git diff.
Solution:   Add .gitattributes file.  Make explicit that 'cpo' does not
            contain 'S'. (Daniel Hahler, closes vim#5072)
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.

None yet

1 participant