diff options
author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2025-01-31 16:36:33 +0100 |
---|---|---|
committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2025-01-31 16:36:33 +0100 |
commit | e9c878ce4c317e7affa0359171f0cda6818c578e (patch) | |
tree | 22c9dce6407345f8570139da9ed19d063f9b9101 /pkgs | |
parent | feat(modules/lf/commands/view_file): Also use `$READER` for epub files (diff) | |
download | nixos-config-e9c878ce4c317e7affa0359171f0cda6818c578e.zip |
fix(pkgs/stamp): Ignore the `.git` directory
There should be no reason to ever stamp this directory.
Diffstat (limited to 'pkgs')
-rwxr-xr-x | pkgs/by-name/st/stamp/stamp.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/by-name/st/stamp/stamp.sh b/pkgs/by-name/st/stamp/stamp.sh index 0fced956..0aa6c281 100755 --- a/pkgs/by-name/st/stamp/stamp.sh +++ b/pkgs/by-name/st/stamp/stamp.sh @@ -93,7 +93,7 @@ done for file in "$@"; do if [ -d "$file" ]; then - fd . "$file" --type file --hidden | while read -r path_file; do + fd . "$file" --type file --hidden --exclude '/.git/*' | while read -r path_file; do reuse_run "$path_file" done else |