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.
Unified · Split
| @@ -56,7 +56,7 @@ pub fn checkout_exclusive( · 55 unmodified lines | ||
| 56 | 56 | } |
| 57 | 57 | |
| 58 | 58 | let opts = gix::worktree::index::checkout::Options { |
| 59 | − fs: gix::worktree::fs::Capabilities::probe(dest_directory), | |
| 59 | + fs: gix::utils::FilesystemCapabilities::probe(dest_directory), | |
| 60 | 60 | |
| 61 | 61 | destination_is_initially_empty: true, |
| 62 | 62 | overwrite_existing: false, |
| @@ -84,6 +84,7 @@ pub fn main() -> Result<()> { · 83 unmodified lines | ||
| 84 | 84 | ); |
| 85 | 85 | let to_match_settings = |mut opts: gix::open::Options| { |
| 86 | 86 | opts.permissions.config.git_binary = git_installation; |
| 87 | + opts.permissions.attributes.git_binary = git_installation; | |
| 87 | 88 | if config.is_empty() { |
| 88 | 89 | opts |
| 89 | 90 | } else { |
| @@ -1,7 +1,7 @@ | ||
| 1 | 1 | error: unrecognized subcommand 'remote' |
| 2 | 2 | |
| 3 | − note: subcommands 'r', 'tree', 'free' exist | |
| 4 | − note: to pass 'remote' as a value, use 'gix -- remote' | |
| 3 | + tip: some similar subcommands exist: 'r', 'tree', 'free' | |
| 4 | + tip: to pass 'remote' as a value, use 'gix -- remote' | |
| 5 | 5 | |
| 6 | 6 | Usage: gix [OPTIONS] <COMMAND> |
| 7 | 7 | |