File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change 4
4
//! individually. Sometimes it may hide complexity under the assumption that the performance difference doesn't matter
5
5
//! for all but the fewest tools out there, which would be using the underlying crates directly or file an issue.
6
6
//!
7
+ //! ### The Trust Model
8
+ //!
9
+ //! It is very simple - based on the ownership of the repository compared to the user of the current process [Trust](sec::Trust)
10
+ //! is assigned. This can be [overridden](open::Options::with()) as well. Further, git configuration files track their trust level
11
+ //! per section based on and sensitive values like paths to executables or certain values will be skipped if they are from a source
12
+ //! that isn't [fully](sec::Trust::Full) trusted.
13
+ //!
14
+ //! That way, data can safely be obtained without risking to execute untrusted executables.
15
+ //!
16
+ //! Note that it's possible to let `gix` act like `git` or `git2` by setting the [open::Options::bail_if_untrusted()] option.
17
+ //!
7
18
//! ### The prelude and extensions
8
19
//!
9
20
//! With `use git_repository::prelude::*` you should be ready to go as it pulls in various extension traits to make functionality
You can’t perform that action at this time.
0 commit comments