summaryrefslogtreecommitdiff
path: root/post-apt.d/40git-rm
blob: 4a474359ef8028df52ec4fe32b0b655de422c7cb (plain)
1
2
3
4
5
6
7
8
9
10
#!/bin/sh
set -e

TAB="	"

for file in $(git ls-files --deleted); do
	if [ ! -d "$file" ]; then 
		git rm "$file"
	fi
done