Index: tools/git_clone_to_google3.sh |
diff --git a/tools/git_clone_to_google3.sh b/tools/git_clone_to_google3.sh |
index 1e2f34f82dbcec546c928d9601775e484f64ba2c..38d79e3c01cf4030b1b0432ea9d14c8dad87500a 100755 |
--- a/tools/git_clone_to_google3.sh |
+++ b/tools/git_clone_to_google3.sh |
@@ -12,6 +12,7 @@ |
source gbash.sh || exit |
DEFINE_string skia_rev "" "Git hash of Skia revision to clone, default LKGR." |
+gbash::init_google "$@" |
set -x -e |
@@ -48,8 +49,8 @@ |
--include=/dm \ |
--include=/gm \ |
--include=/include \ |
+ --exclude=/src/animator \ |
--include=/src \ |
- --exclude=/src/animator \ |
--include=/tests \ |
--include=/third_party \ |
--include=/tools \ |
@@ -80,11 +81,16 @@ |
g4 revert README.google |
g4 revert BUILD |
-# Use google3 version of OWNERS, README.google, and BUILD. |
+# Use google3 version of OWNERS. |
find . \ |
- \( -name OWNERS -o -name README.google -o -name BUILD \) \ |
+ -name OWNERS \ |
-exec git update-index --skip-worktree \{\} \; \ |
-execdir g4 revert \{\} \; |
+ |
+# Tell git to ignore these files that have Windows line endings, because Piper |
+# will always change them to Unix line endings. |
+git update-index --skip-worktree make.bat |
+git update-index --skip-worktree make.py |
# Tell git to ignore files left out of the rsync (i.e. "deleted" files). |
git status --porcelain | \ |