Skip to content

Commit

Permalink
Assure we load all gitattributes when needed.
Browse files Browse the repository at this point in the history
This is an on-demand operation anyway, but now we turn on the loading of
git binary-specific gitattributes which should help to emulate gits
behaviour perfectly.
  • Loading branch information
Byron committed Apr 10, 2023
1 parent adb2e64 commit 48960c2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/plumbing/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ pub fn main() -> Result<()> {
);
let to_match_settings = |mut opts: gix::open::Options| {
opts.permissions.config.git_binary = git_installation;
opts.permissions.attributes.git_binary = git_installation;
if config.is_empty() {
opts
} else {
Expand Down

0 comments on commit 48960c2

Please sign in to comment.