File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/cargo/ops/cargo_package Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -247,7 +247,7 @@ fn dirty_files_outside_pkg_root(
247
247
. map ( |path| paths:: normalize_path ( & pkg_root. join ( path) ) )
248
248
. collect ( ) ;
249
249
250
- let mut dirty_symlinks = HashSet :: new ( ) ;
250
+ let mut dirty_files = HashSet :: new ( ) ;
251
251
for rel_path in src_files
252
252
. iter ( )
253
253
. filter ( |p| p. is_symlink_or_under_symlink ( ) )
@@ -259,10 +259,10 @@ fn dirty_files_outside_pkg_root(
259
259
. filter_map ( |p| paths:: strip_prefix_canonical ( p, workdir) . ok ( ) )
260
260
{
261
261
if repo. status_file ( & rel_path) ? != git2:: Status :: CURRENT {
262
- dirty_symlinks . insert ( workdir. join ( rel_path) ) ;
262
+ dirty_files . insert ( workdir. join ( rel_path) ) ;
263
263
}
264
264
}
265
- Ok ( dirty_symlinks )
265
+ Ok ( dirty_files )
266
266
}
267
267
268
268
/// Helper to collect dirty statuses for a single repo.
You can’t perform that action at this time.
0 commit comments