Lines Matching full:git
17 # clean-includes [--git subjectprefix] [--check-dup-head] file ...
19 # clean-includes [--git subjectprefix] [--check-dup-head] --all
21 # If the --git subjectprefix option is given, then after making
22 # the changes to the files this script will create a git commit
45 # for i in $(git ls-tree --name-only HEAD) ; do test -f $i && \
50 GIT=no
59 "--git")
61 echo "--git option requires an argument"
65 GIT=yes
84 echo "Usage: clean-includes [--git subjectprefix] [--check-dup-head] [--all | foo.c ...]"
91 set -- $(git ls-files '*.[ch]' | grep -E -v "$XDIRREGEX")
191 if [ "$GIT" = "yes" ]; then
192 git add -- $files
193 git commit --signoff -F - <<EOF