@@ -68,7 +68,7 @@ int git_attr_get_ext(
6868 if (git_repository_is_bare (repo ))
6969 dir_flag = GIT_DIR_FLAG_FALSE ;
7070
71- if (git_attr_path__init (& path , repo , pathname , git_repository_workdir (repo ), dir_flag ) < 0 )
71+ if (git_attr_path__init (& path , pathname , git_repository_workdir (repo ), dir_flag ) < 0 )
7272 return -1 ;
7373
7474 if ((error = collect_attr_files (repo , NULL , opts , pathname , & files )) < 0 )
@@ -149,7 +149,7 @@ int git_attr_get_many_with_session(
149149 if (git_repository_is_bare (repo ))
150150 dir_flag = GIT_DIR_FLAG_FALSE ;
151151
152- if (git_attr_path__init (& path , repo , pathname , git_repository_workdir (repo ), dir_flag ) < 0 )
152+ if (git_attr_path__init (& path , pathname , git_repository_workdir (repo ), dir_flag ) < 0 )
153153 return -1 ;
154154
155155 if ((error = collect_attr_files (repo , attr_session , opts , pathname , & files )) < 0 )
@@ -264,7 +264,7 @@ int git_attr_foreach_ext(
264264 if (git_repository_is_bare (repo ))
265265 dir_flag = GIT_DIR_FLAG_FALSE ;
266266
267- if (git_attr_path__init (& path , repo , pathname , git_repository_workdir (repo ), dir_flag ) < 0 )
267+ if (git_attr_path__init (& path , pathname , git_repository_workdir (repo ), dir_flag ) < 0 )
268268 return -1 ;
269269
270270 if ((error = collect_attr_files (repo , NULL , opts , pathname , & files )) < 0 ||
0 commit comments