jw-pkg/scripts
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Jan Lindemann 7cec102691
scm.sh ls-files: Honor -f in Git repositories
In CVS, the -f option keeps directory entries out of scm.sh ls-file's
listing; in Git, it's a silent no-op. Notably symlinks are not excluded
despite -f.

Implement -f for git with a mode filter on git ls-files -s output: only
100644 and 100755 entries are listed, so the option means the same thing in
both code paths.

For Git, this actually means a behaviour change which needs to be fixed:

The dist archive targets tar-files and cpio-files in make/list-files.mk and
the scm_files() helper in scripts/pkg.sh then may no longer pass it to get
unchanged behaviour.

The targets list-files and list-text-files keep it, so the text-files cache
now matches its documented regular-files-only membership.

Assisted-by: unsloth/Qwen3.8-27B-GGUF:Q4_K_M with pi.dev v0.85.1
Signed-off-by: Jan Lindemann <jan@janware.com>
2026-09-16 14:44:59 +02:00
..
usr-bin conf / scripts: Fix unprivileged "make install" 2026-08-18 17:27:32 +02:00
create-mkdebian.sh scripts: Fix shellcheck errors 2026-06-29 17:52:24 +02:00
create-mkspec.sh create-mkspec.sh: Tolerate comma-separated subpackages 2026-07-22 11:06:58 +02:00
dpm.sh scripts: Fix shellcheck errors 2026-06-29 17:52:24 +02:00
git-srv-admin.sh scripts: Fix shellcheck errors 2026-06-29 17:52:24 +02:00
ini-tools.sh scripts: Fix shellcheck errors 2026-06-29 17:52:24 +02:00
jw Revert "scripts: Add __init__.py" 2026-01-26 17:17:23 +01:00
jw-pkg-create-project.sh jw-pkg-create-project.sh: Use make gitignore 2026-09-13 23:09:25 +02:00
jw-pkg.py jw.pkg: Fix "make check" static code check fallout 2026-05-31 18:20:38 +02:00
make-version-script.sh make, scripts: Re-add files necessary for building ytools 2025-11-14 15:59:49 +01:00
Makefile scripts: Fix shellcheck errors 2026-06-29 17:52:24 +02:00
mkspec-wrapper.sh scripts: Fix shellcheck errors 2026-06-29 17:52:24 +02:00
pgit.sh pgit.sh: Allow running under any projects-dir.mk 2026-09-05 13:39:51 +02:00
pkg.sh scm.sh ls-files: Honor -f in Git repositories 2026-09-16 14:44:59 +02:00
purge-stale-projects.sh purge-stale-projects.sh: Fix getopt regression 2026-06-30 07:36:15 +02:00
python-tools.sh python-tools.sh: Annotate generated conftest.py 2026-09-13 15:42:29 +02:00
scm.sh scm.sh ls-files: Honor -f in Git repositories 2026-09-16 14:44:59 +02:00
ssh-wrapper.sh projects-dir.mk: Remove "-l user" in ssh-wrapper.sh 2026-06-07 12:06:02 +02:00
systemctl-wrapper.sh scripts: Fix shellcheck errors 2026-06-29 17:52:24 +02:00
upload.sh scripts: Fix shellcheck errors 2026-06-29 17:52:24 +02:00