* subversion/libsvn_wc/working_file_writer.c
(svn_wc__working_file_writer_open):
Inline the contents of the svn_subst_translation_required() check.
With the `force_eol_check` parameter set to TRUE, it should be equivalent
to seeing if we have any keywords or any eol style, so we might as well
check for those things explicitly.
@@ -88,9 +88,7 @@ svn_wc__working_file_writer_open(svn_wc__working_file_writer_t **writer_p,
write_stream = install_stream;
- if (svn_subst_translation_required(eol_style, eol, keywords,
- FALSE /* special */,
- TRUE /* force_eol_check */))
+ if (keywords || eol_style != svn_subst_eol_style_none)
{
write_stream = svn_subst_stream_translated(write_stream,
eol,
