Commit aad7683
committed
Remove unowned files from /usr/bin and /mingw*
This repeats the exercise from git-for-windows/git-sdk-arm64#35
This trick was performed by:
f() {
comm -23 \
<(git -C / ls-files $1\* |
sort) \
<(git -C /var/lib/pacman/local/ grep ^$1 \*/files |
sed -n 's,^.*:\(.*[^/]\)$,\1,p' |
sort)
}
f usr/bin |
xargs -d '\n' -r git -C / rm
f mingw |
xargs -d '\n' -r git -C / rm
Signed-off-by: Jeremy Drake <github@jdrake.com>1 parent c3d1bf2 commit aad7683
File tree
38 files changed
+0
-5572
lines changed- mingw32
- bin
- etc
- xml
- libexec/git-core
- ssl/certs
- var/cache/fontconfig
- mingw64/etc
- usr/bin
38 files changed
+0
-5572
lines changedThis file was deleted.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file was deleted.
This file was deleted.
This file was deleted.
0 commit comments