We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7d5c020 commit 7db456dCopy full SHA for 7db456d
src/build.rs
@@ -491,6 +491,11 @@ impl<'cb> CheckoutBuilder<'cb> {
491
self.flag(raw::GIT_CHECKOUT_CONFLICT_STYLE_DIFF3, on)
492
}
493
494
+ /// Treat paths as a simple list.
495
+ pub fn disable_pathspec_match(&mut self, on: bool) -> &mut CheckoutBuilder<'cb> {
496
+ self.flag(raw::GIT_CHECKOUT_DISABLE_PATHSPEC_MATCH, on)
497
+ }
498
+
499
/// Indicate whether to apply filters like CRLF conversion.
500
pub fn disable_filters(&mut self, disable: bool) -> &mut CheckoutBuilder<'cb> {
501
self.disable_filters = disable;
0 commit comments