File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -652,7 +652,7 @@ fn discover_gix_repo(root: &Path) -> CargoResult<Option<gix::Repository>> {
652
652
let index = repo
653
653
. index_or_empty ( )
654
654
. with_context ( || format ! ( "failed to open git index at {}" , repo. path( ) . display( ) ) ) ?;
655
- let repo_root = repo. work_dir ( ) . ok_or_else ( || {
655
+ let repo_root = repo. workdir ( ) . ok_or_else ( || {
656
656
anyhow:: format_err!(
657
657
"did not expect repo at {} to be bare" ,
658
658
repo. path( ) . display( )
@@ -702,7 +702,7 @@ fn list_files_gix(
702
702
. emit_empty_directories ( false ) ;
703
703
let index = repo. index_or_empty ( ) ?;
704
704
let root = repo
705
- . work_dir ( )
705
+ . workdir ( )
706
706
. ok_or_else ( || anyhow:: format_err!( "can't list files on a bare repository" ) ) ?;
707
707
assert ! (
708
708
root. is_absolute( ) ,
You can’t perform that action at this time.
0 commit comments