File tree Expand file tree Collapse file tree 4 files changed +6
-3
lines changed Expand file tree Collapse file tree 4 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77
88## Unreleased
99
10+ ### Fixes
11+ * respect env vars like ` GIT_CONFIG_GLOBAL ` ([ #2298 ] ( https://github.com/extrawurst/gitui/issues/2298 ) )
12+
1013## [ 0.26.3] - 2024-06-02
1114
1215### Breaking Changes
Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ impl From<&str> for RepoPath {
5151pub fn repo ( repo_path : & RepoPath ) -> Result < Repository > {
5252 let repo = Repository :: open_ext (
5353 repo_path. gitpath ( ) ,
54- RepositoryOpenFlags :: empty ( ) ,
54+ RepositoryOpenFlags :: FROM_ENV ,
5555 Vec :: < & Path > :: new ( ) ,
5656 ) ?;
5757
Original file line number Diff line number Diff line change @@ -123,7 +123,7 @@ pub fn submodule_parent_info(
123123
124124 if let Ok ( parent) = Repository :: open_ext (
125125 parent_path,
126- RepositoryOpenFlags :: empty ( ) ,
126+ RepositoryOpenFlags :: FROM_ENV ,
127127 Vec :: < & Path > :: new ( ) ,
128128 ) {
129129 let parent_wd = work_dir ( & parent) ?. to_path_buf ( ) ;
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ pub struct Head {
2828pub fn repo_open_error ( repo_path : & RepoPath ) -> Option < String > {
2929 Repository :: open_ext (
3030 repo_path. gitpath ( ) ,
31- RepositoryOpenFlags :: empty ( ) ,
31+ RepositoryOpenFlags :: FROM_ENV ,
3232 Vec :: < & Path > :: new ( ) ,
3333 )
3434 . map_or_else ( |e| Some ( e. to_string ( ) ) , |_| None )
You can’t perform that action at this time.
0 commit comments