Skip to content

Commit 4b00d68

Browse files
caspervonbByron
authored andcommitted
Comment
1 parent e700284 commit 4b00d68

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

git-config/src/file/git_config.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,12 +135,14 @@ impl<'event> GitConfig<'event> {
135135
parse_from_path(path).map(Self::from)
136136
}
137137

138-
/// Constructs a `git-config` file from the provided paths.
138+
/// Constructs a `git-config` file from the provided paths in the order provided.
139139
///
140140
/// # Errors
141141
///
142142
/// Returns an error if there was an IO error or if a file wasn't a valid
143143
/// git-config file.
144+
///
145+
/// [`git-config`'s documentation]: https://git-scm.com/docs/git-config#Documentation/git-config.txt-FILES
144146
#[inline]
145147
pub fn from_paths(paths: &[&Path]) -> Result<Self, ParserOrIoError<'static>> {
146148
let mut config = Self::new();

0 commit comments

Comments
 (0)