diff --git a/import-upstream b/import-upstream index 9b01f25d77e2106d2eb7ada5e71157d8c671a51c..48be98c37d13930aa3e9d7eb58c12510d96e2fb1 100755 --- a/import-upstream +++ b/import-upstream @@ -37,7 +37,7 @@ fi git rm -rf --ignore-unmatch . || exit 1 git clean -d -f -x || exit 1 -tar --strip-components=1 -x -f $tarfile || exit 1 +tar --strip-components=1 -x --exclude .git -f $tarfile || exit 1 git add -f -A -- . || exit 1 git commit -m"Imported Bugzilla $version." || exit 1 git tag bugzilla-$version || exit 1