Searched refs:gr (Results 1 – 1 of 1) sorted by relevance
32 for gr in $@; do33 [[ -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 $gr40 git -C $gr add $modified41 git -C $gr commit -q \