File tree Expand file tree Collapse file tree 4 files changed +1729
-59
lines changed
Expand file tree Collapse file tree 4 files changed +1729
-59
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ use jj_lib::conflicts::ConflictMarkerStyle;
1111use jj_lib:: fsmonitor:: FsmonitorSettings ;
1212use jj_lib:: gitignore:: GitIgnoreFile ;
1313use jj_lib:: local_working_copy:: EolConversionMode ;
14+ use jj_lib:: local_working_copy:: EolConversionSettings ;
1415use jj_lib:: local_working_copy:: ExecChangeSetting ;
1516use jj_lib:: local_working_copy:: TreeState ;
1617use jj_lib:: local_working_copy:: TreeStateError ;
@@ -154,7 +155,11 @@ pub(crate) fn check_out_trees(
154155 std:: fs:: create_dir ( & state_dir) . map_err ( DiffCheckoutError :: SetUpDir ) ?;
155156 let tree_state_settings = TreeStateSettings {
156157 conflict_marker_style,
157- eol_conversion_mode : EolConversionMode :: None ,
158+ eol_conversion_settings : EolConversionSettings {
159+ use_git_attributes : false ,
160+ default_eol_attributes : EolConversionMode :: None ,
161+ eol_conversion_mode : EolConversionMode :: None ,
162+ } ,
158163 exec_change_setting : ExecChangeSetting :: Auto ,
159164 fsmonitor_settings : FsmonitorSettings :: None ,
160165 } ;
Original file line number Diff line number Diff line change @@ -52,6 +52,8 @@ name = ""
5252[working-copy ]
5353eol-conversion = " none"
5454exec-bit-change = " auto"
55+ eol-conversion-use-gitattributes = false
56+ gitattributes-default-eol = " none"
5557
5658[experimental ]
5759record-predecessors-in-commit = true
You can’t perform that action at this time.
0 commit comments