Lines Matching refs:git
10 NEW_UPSTREAM_SHA1=$(git ls-remote "https://github.com/google/googletest.git" HEAD | awk '{print $1}')
15 git remote add googletest-upstream https://github.com/google/googletest.git
16 git fetch googletest-upstream "$NEW_UPSTREAM_SHA1"
17 git remote remove googletest-upstream
20 git diff HEAD:deps/googletest/LICENSE "$NEW_UPSTREAM_SHA1:LICENSE"
21 git diff-tree HEAD:deps/googletest/include "$NEW_UPSTREAM_SHA1:googletest/include"
22 git diff-tree HEAD:deps/googletest/src "$NEW_UPSTREAM_SHA1:googletest/src"
38 LAST_CHANGE_DATE=$(git log -1 --format=%ct "$NEW_UPSTREAM_SHA1" -- LICENSE googletest/include googletest/src)
52 [ -d "$WORKTREE" ] && git worktree remove -f "$WORKTREE"
59 git worktree add "$WORKTREE" "$NEW_UPSTREAM_SHA1"
85 echo "Please git stage googletest, commit the new version:"
87 echo "$ git stage -A deps/googletest"
88 echo "$ git commit -m \"deps: update googletest to $NEW_VERSION\""