Home
last modified time | relevance | path

Searched refs:gr (Results 1 – 1 of 1) sorted by relevance

/build/bazel/mk2rbc/
Dapply_scripted_change.sh32 for gr in $@; do
33 [[ -d $gr/.git ]] || { echo $gr is not a Git directory; rc=1; continue; }
34 …out=$(git -C $gr status --porcelain --untracked-files=no) || { die "so skipping $gr because of the…
35 [[ -z "$out" ]] || { echo $gr contains uncommitted changes:; echo "$out" >&2; rc=1; continue; }
36 (cd $gr && $script)
37 modified="$(git -C $gr status --porcelain | sed -nr 's/^ M (.*)/\1/p')"
38 [[ -n "$modified" ]] || { echo no files changed in $gr; continue; }
39 [[ -z "$(repo status -q $gr 2>/dev/null)" ]] || repo start b$bugid $gr
40 git -C $gr add $modified
41 git -C $gr commit -q \