From 82d101907aece81bb3115d0083fa67b9a1c6e3b1 Mon Sep 17 00:00:00 2001 From: Alex Burka Date: Fri, 25 Aug 2017 13:58:17 -0400 Subject: [PATCH] ignore: document git_global enabled by default --- ignore/src/walk.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ignore/src/walk.rs b/ignore/src/walk.rs index fdb12832..bd733095 100644 --- a/ignore/src/walk.rs +++ b/ignore/src/walk.rs @@ -610,6 +610,8 @@ impl WalkBuilder { /// does not exist or does not specify `core.excludesFile`, then /// `$XDG_CONFIG_HOME/git/ignore` is read. If `$XDG_CONFIG_HOME` is not /// set or is empty, then `$HOME/.config/git/ignore` is used instead. + /// + /// This is enabled by default. pub fn git_global(&mut self, yes: bool) -> &mut WalkBuilder { self.ig_builder.git_global(yes); self