Skip to content

fsexcludes: Add programmatic way to exclude files

Ben Peart git 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest2 patches 2 repliesIn review
  2. v22 patches 2 repliesSuperseded
  3. v12 patches 4 repliesSuperseded

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2fsexcludes: add a programmatic way to exclude files from git's working directory traversal logicMakefile dir.c fsexcludes.c +1 more+263 -20 replies
2/2fsmonitor: switch to use new fsexcludes logic and remove unused untracked cache based logicdir.c dir.h fsmonitor.c +2 more+16 -540 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

Cover letter [PATCH v3 0/2] fsexcludes: Add programmatic way to exclude files

Only minor changes from V2:

Switched to using get_dtype() instead of DTYPE() for platform independence. Cleaned up reverting of fsmonitor code in the untracked cache.

Base Ref: master
Web-Diff: https://github.com/benpeart/git/commit/709470f33f
Checkout: git fetch https://github.com/benpeart/git fsexcludes-v3 && git checkout 709470f33f

### Patches

Ben Peart (2):
fsexcludes: add a programmatic way to exclude files from git's working
directory traversal logic
fsmonitor: switch to use new fsexcludes logic and remove unused
untracked cache based logic

 Makefile                    |   1 +
 dir.c                       |  47 +++++---
 dir.h                       |   2 -
 fsexcludes.c                | 211 ++++++++++++++++++++++++++++++++++++
 fsexcludes.h                |  29 +++++
 fsmonitor.c                 |  21 +---
 fsmonitor.h                 |  10 +-
 t/t7519-status-fsmonitor.sh |  14 +--
 8 files changed, 279 insertions(+), 56 deletions(-)
 create mode 100644 fsexcludes.c
 create mode 100644 fsexcludes.h

base-commit: fe0a9eaf31dd0c349ae4308498c33a5c3794b293

Signature · 1 line
2.17.0.windows.1