From e9c878ce4c317e7affa0359171f0cda6818c578e Mon Sep 17 00:00:00 2001
From: Benedikt Peetz <benedikt.peetz@b-peetz.de>
Date: Fri, 31 Jan 2025 16:36:33 +0100
Subject: fix(pkgs/stamp): Ignore the `.git` directory

There should be no reason to ever stamp this directory.
---
 pkgs/by-name/st/stamp/stamp.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'pkgs/by-name/st/stamp/stamp.sh')

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
-- 
cgit 1.4.1