diff options
author | Toby Vincent <tobyv@tobyvin.dev> | 2023-10-27 16:07:32 -0500 |
---|---|---|
committer | Toby Vincent <tobyv@tobyvin.dev> | 2023-10-27 16:07:32 -0500 |
commit | cfc1d095a4c4c8f39b968464afc5aaae8e7d995b (patch) | |
tree | 072240122a97b46ad47b1022aa296624090ab114 | |
parent | bf2deb4e7e4d12767ea56118017e6e1cc384ae47 (diff) |
fix: check for staged changes when cleaning links
-rwxr-xr-x | install.sh | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -9,6 +9,7 @@ printf "%s: Removing bad links\n" "$0" ( git diff-tree --no-commit-id --name-status e6051a3..HEAD -r git diff --no-commit-id --name-status -r + git diff --no-commit-id --name-status -r --staged ) | grep -oP 'D\t[^/]+/\K(.*)' | while read -r f; do |