mirror of
https://github.com/extrawurst/gitui.git
synced 2024-11-22 11:03:25 +03:00
parent
7fec560942
commit
ce923e6fe4
@ -7,6 +7,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||
|
||||
## Unreleased
|
||||
|
||||
### Fixes
|
||||
* respect env vars like `GIT_CONFIG_GLOBAL` ([#2298](https://github.com/extrawurst/gitui/issues/2298))
|
||||
|
||||
## [0.26.3] - 2024-06-02
|
||||
|
||||
### Breaking Changes
|
||||
|
@ -51,7 +51,7 @@ impl From<&str> for RepoPath {
|
||||
pub fn repo(repo_path: &RepoPath) -> Result<Repository> {
|
||||
let repo = Repository::open_ext(
|
||||
repo_path.gitpath(),
|
||||
RepositoryOpenFlags::empty(),
|
||||
RepositoryOpenFlags::FROM_ENV,
|
||||
Vec::<&Path>::new(),
|
||||
)?;
|
||||
|
||||
|
@ -123,7 +123,7 @@ pub fn submodule_parent_info(
|
||||
|
||||
if let Ok(parent) = Repository::open_ext(
|
||||
parent_path,
|
||||
RepositoryOpenFlags::empty(),
|
||||
RepositoryOpenFlags::FROM_ENV,
|
||||
Vec::<&Path>::new(),
|
||||
) {
|
||||
let parent_wd = work_dir(&parent)?.to_path_buf();
|
||||
|
@ -28,7 +28,7 @@ pub struct Head {
|
||||
pub fn repo_open_error(repo_path: &RepoPath) -> Option<String> {
|
||||
Repository::open_ext(
|
||||
repo_path.gitpath(),
|
||||
RepositoryOpenFlags::empty(),
|
||||
RepositoryOpenFlags::FROM_ENV,
|
||||
Vec::<&Path>::new(),
|
||||
)
|
||||
.map_or_else(|e| Some(e.to_string()), |_| None)
|
||||
|
Loading…
Reference in New Issue
Block a user