File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
gitoxide-core/src/query/engine Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -139,7 +139,12 @@ pub fn update(
139
139
} ) ;
140
140
141
141
let rewrites = {
142
- let mut r = gix:: diff:: new_rewrites ( & repo. config_snapshot ( ) , true ) ?. unwrap_or_default ( ) ;
142
+ // These are either configured, or we set them to the default. There is no turning them off.
143
+ let ( r, was_configured) = gix:: diff:: new_rewrites ( & repo. config_snapshot ( ) , true ) ?;
144
+ if was_configured && r. is_none ( ) {
145
+ gix:: trace:: warn!( "Rename tracking is disabled by configuration, but we enable it using the default" ) ;
146
+ }
147
+ let mut r = r. unwrap_or_default ( ) ;
143
148
r. copies = Some ( gix:: diff:: rewrites:: Copies {
144
149
source : if find_copies_harder {
145
150
CopySource :: FromSetOfModifiedFilesAndAllSources
You can’t perform that action at this time.
0 commit comments