Skip to content

Commit 1f5d1f7

Browse files
ByronEliahKagan
andcommitted
Improve error message to be less elusive
Co-authored-by: Eliah Kagan <[email protected]>
1 parent 6487269 commit 1f5d1f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gix-discover/src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ pub mod is_git {
3939
Metadata { source: std::io::Error, path: PathBuf },
4040
#[error("The repository's config file doesn't exist or didn't have a 'bare' configuration or contained core.worktree without value")]
4141
Inconclusive,
42-
#[error("Could not obtain current directory when conforming repository path")]
42+
#[error("Could not obtain current directory for resolving the '.' repository path")]
4343
CurrentDir(#[from] std::io::Error),
4444
}
4545
}

0 commit comments

Comments
 (0)