Signed-off-by: Justin Lecher <jlec@gentoo.org>
find "$@" -type d -name '.svn' -prune -print0 | xargs -0 rm -rf
}
+# @FUNCTION: egit_clean
+# @USAGE: [list of dirs]
+# @DESCRIPTION:
+# Remove .git* directories/files recursiveley. Useful when a source tarball
+# contains internal Git directories. Defaults to $PWD.
+egit_clean() {
+ [[ -z $* ]] && set -- .
+ find "$@" -type d -name '.git*' -prune -print0 | xargs -0 rm -rf
+}
+
# @FUNCTION: estack_push
# @USAGE: <stack> [items to push]
# @DESCRIPTION: