Skip to content

RFC Introduce precious files

Mirko Faina git 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest6 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6precious-files.txt: new document proposing new precious file typeDocumentation/technical/precious-files.txt+540 -00 replies
2/6dir.h: replace pattern macros with enum in attr.hattr.h builtin/check-ignore.c builtin/sparse-checkout.c +2 more+15 -90 replies
3/6dir.c: teach parse_path_pattern() precious filesattr.c attr.h dir.c +2 more+40 -60 replies
4/6dir.c: teach add_pattern() reject precious patternbuiltin/clean.c builtin/ls-files.c builtin/sparse-checkout.c +4 more+39 -170 replies
5/6unpack-trees: teach check_ok_to_remove() preciousdir.c dir.h unpack-trees.c+26 -40 replies
6/6builtin/ls-files.c: support for precious filesbuiltin/ls-files.c dir.c dir.h +2 more+190 -200 replies

Reviews trailers per patch

None of the 6 patches has a Reviewed-by or Acked-by.

PatchSebastian Thiel
1/6Helped-by
2/6
3/6
4/6
5/6
6/6

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [RFC PATCH 0/6] Introduce precious files

Introduce precious files based on Elijah Newren's document [1].

With this series documentation is not updated yet but I wanted some feedback before polishing and moving on to implement the changes for "git clean".

[1] https://lore.kernel.org/git/[email protected]/

[1/6] precious-files.txt: new document proposing new precious file type (Elijah Newren) [2/6] dir.h: replace pattern macros with enum in attr.h (Mirko Faina) [3/6] dir.c: teach parse_path_pattern() precious files (Mirko Faina) [4/6] dir.c: teach add_pattern() reject precious pattern (Mirko Faina) [5/6] unpack-trees: teach check_ok_to_remove() precious (Mirko Faina) [6/6] builtin/ls-files.c: support for precious files (Mirko Faina)

 Documentation/technical/precious-files.txt | 540 +++++++++++++++++++++
 attr.c                                     |   8 +-
 attr.h                                     |  10 +-
 builtin/check-ignore.c                     |   1 +
 builtin/clean.c                            |   4 +-
 builtin/ls-files.c                         |  75 ++-
 builtin/sparse-checkout.c                  |  16 +-
 dir.c                                      | 144 +++++-
 dir.h                                      |  51 +-
 t/helper/test-path-walk.c                  |   2 +-
 t/t1091-sparse-checkout-builtin.sh         |   8 +
 t/t2205-add-worktree-config.sh             |   2 +-
 t/t3001-ls-files-others-exclude.sh         |  27 ++
 t/t7508-status.sh                          |   9 +
 unpack-trees.c                             |   7 +-
 15 files changed, 849 insertions(+), 55 deletions(-)
 create mode 100644 Documentation/technical/precious-files.txt
Signature · 1 line
2.56.0