Phil Beauvoir
Phil Beauvoir
This can happen if one user commits a file with Linux line endings, and the file is deleted, and then a user on Windows reverts that commit thus restoring it...
All the grafico xml files have the host's line endings. Perhaps we can set it to use one type of line ending? Or when restoring an object's grafico file use...
I think I've fixed this now by using the system EOL character when restoring objects to files.
Fixed. But I don't like the fix. It seems that the JGit ObjectLoader class saves a file with Linux line endings on all platforms.
Re-opening this because it's still an issue. Assuming that the JGit ObjectLoader uses UNIX line endings, then all writes will use these from now on.
You can use the "Abort Uncommitted Changes" option?
Perhaps this is something that could be looked at in the future.
This is being worked on and will be in a future release.
Maybe there is a git hook that could be used?
I can do this now on GitBlit ;-)