From 4e8fb63d815ef4edd46b99cbef9cc0fc6b7ad112 Mon Sep 17 00:00:00 2001 From: Trolli Schmittlauch Date: Mon, 15 Dec 2025 22:36:44 +0100 Subject: [PATCH] reporsync: ignore .git also as file .git is just a file for worktree checkout working directories. --- home/scripts/reporsync.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/home/scripts/reporsync.nix b/home/scripts/reporsync.nix index ed2e9f0..cf4ebee 100644 --- a/home/scripts/reporsync.nix +++ b/home/scripts/reporsync.nix @@ -10,7 +10,7 @@ # reset pre-defined variables that are read and manipulated throughout this function unset JUMPHOST # arrays are bash or zsh specific - RSYNC_OPTS=("-rlptzv" "--progress" "--delete" "--exclude=.git/" "--exclude=.direnv/" "--exclude=.vscode/" "--exclude=result" "--exclude=channels/" "--exclude=.mypy_cache/" "--exclude=__pycache__") + RSYNC_OPTS=("-rlptzv" "--progress" "--delete" "--exclude=.git" "--exclude=.direnv/" "--exclude=.vscode/" "--exclude=result" "--exclude=channels/" "--exclude=.mypy_cache/" "--exclude=__pycache__") while getopts ':Jj:' OPT; do case $OPT in