-
Notifications
You must be signed in to change notification settings - Fork 714
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
New wiki format, Git and line-endings #999
Comments
Thanks for the report. You're working on Windows? |
We are using Windows 7 as a dev machine, the git server is a Linux machine. |
It appears a '.gitattributes' file in the FitNesseRoot directory also works, if we explicitly set all .wiki files to have only 'lf' line endings (and not Windows standard 'crlf'). So inside the FitNesseRoot directory we can add a '.gitattributes' file with contents:
This seems to leave the new style wiki pages in working condition. Is there indeed a requirement in the .wiki format for the line endings (for the entire file, or the first part of the file containing the properties)? |
With commit d559513 this should be fixed. |
When creating a new page using the latest FitNesse version, pushing said file to Git, removing the branch and pulling the branch back to local, the properties at the beginning of the file are no longer seen as properties. The result is the page is not viewed as a test but as a Static page. The Help text is also gone and in FitNesse the properties are displayed with a strike-through.
We suspect this is due to line endings changing when going to Git and back and the latest FitNesse version being somewhat intolerant to this.
Attached two files, a before and an after. I hope the zipping didn't mess up my point :-)
wikifiles.zip
The text was updated successfully, but these errors were encountered: