From 4eb67310a0b0f8daddf4edc1f8e41a3dae648953 Mon Sep 17 00:00:00 2001 From: Peter Kokot Date: Sat, 4 May 2019 17:28:24 +0200 Subject: [PATCH] Remove vcsclean script The vcsclean script is really only a wrapper for a git clean command. Developers should use the more proper and clear native Git command directly instead: `git clean -Xfd` --- build/build.mk | 6 ------ scripts/dev/vcsclean | 7 ------- 2 files changed, 13 deletions(-) delete mode 100755 scripts/dev/vcsclean diff --git a/build/build.mk b/build/build.mk index b246fa7c10..0a93b660a3 100644 --- a/build/build.mk +++ b/build/build.mk @@ -65,10 +65,4 @@ snapshot: md5sum $$distname.tar.bz2; \ bzip2 -t $$distname.tar.bz2 -gitclean-work: - @if (test ! -f '.git/info/exclude' || grep -s "git-ls-files" .git/info/exclude); then \ - (echo "Rebuild .git/info/exclude" && echo '*.o' > .git/info/exclude && git svn propget svn:ignore | grep -v config.nice >> .git/info/exclude); \ - fi; \ - git clean -X -f -d; - .PHONY: snapshot diff --git a/scripts/dev/vcsclean b/scripts/dev/vcsclean deleted file mode 100755 index fc7fc2f805..0000000000 --- a/scripts/dev/vcsclean +++ /dev/null @@ -1,7 +0,0 @@ -#! /bin/sh - -if test -d '.git' -o -f '.git'; then - ${MAKE:-make} -f build/build.mk gitclean-work -else - echo "Can't figure out your VCS, not cleaning." -fi -- 2.40.0