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

2019-10-01 Thread Chris Zehner via GitGitGadget
Why make this change? = Add the ability to use # to put comments after ignore patterns. This is useful for documenting the reason for particular ignore patterns inclusion and structure. Right now a common convention in .gitignore files is to group patterns by similarity, using

[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