Re: [PATCH 1/1] gitignore: ignore comments on the same line as a pattern

2019-10-02 Thread Junio C Hamano
"Chris Zehner via GitGitGadget" writes: > - that begin with a hash. > + Put a backslash ("`\`") in front of each hash for patterns > + containing a hash. > + > + - A # after a pattern will be treated as the start of a comment. > + Put a backslash ("`\`") in front of each hash for patterns

[PATCH 1/1] gitignore: ignore comments on the same line as a pattern

2019-10-01 Thread Chris Zehner via GitGitGadget
From: Chris Zehner Signed-off-by: Chris Zehner --- Documentation/gitignore.txt | 8 ++-- dir.c | 33 + 2 files changed, 39 insertions(+), 2 deletions(-) diff --git a/Documentation/gitignore.txt b/Documentation/gitignore.txt index d47b1