summaryrefslogtreecommitdiff
path: root/post-apt.d/60git-rm
diff options
context:
space:
mode:
authorJoey Hess <joey@kodama.kitenet.net>2007-11-05 20:21:51 -0500
committerJoey Hess <joey@kodama.kitenet.net>2007-11-05 20:21:51 -0500
commitcf66073dbab5c4c9f74b4e2ba24aba05ccbbe6b2 (patch)
treefa2b77b55d4052ba6b5e148741d4af6543279e3c /post-apt.d/60git-rm
parent650d1937cb58f66719b071a3f58afe66a5da68e4 (diff)
sanity
Diffstat (limited to 'post-apt.d/60git-rm')
-rwxr-xr-xpost-apt.d/60git-rm2
1 files changed, 1 insertions, 1 deletions
diff --git a/post-apt.d/60git-rm b/post-apt.d/60git-rm
index 73dc4d8..4a47435 100755
--- a/post-apt.d/60git-rm
+++ b/post-apt.d/60git-rm
@@ -3,7 +3,7 @@ set -e
TAB=" "
-for file in $(git status | egrep "^#${TAB}*deleted: *" | sed 's/.*deleted: *//'); do
+for file in $(git ls-files --deleted); do
if [ ! -d "$file" ]; then
git rm "$file"
fi