about summary refs log tree commit diff stats
path: root/pkgs/by-name/st
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2025-01-31 16:36:33 +0100
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2025-01-31 16:36:33 +0100
commite9c878ce4c317e7affa0359171f0cda6818c578e (patch)
tree22c9dce6407345f8570139da9ed19d063f9b9101 /pkgs/by-name/st
parentfeat(modules/lf/commands/view_file): Also use `$READER` for epub files (diff)
downloadnixos-config-e9c878ce4c317e7affa0359171f0cda6818c578e.zip
fix(pkgs/stamp): Ignore the `.git` directory
There should be no reason to ever stamp this directory.
Diffstat (limited to 'pkgs/by-name/st')
-rwxr-xr-xpkgs/by-name/st/stamp/stamp.sh2
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