Lines Matching refs:diff
148 git diff --ignore-submodules=all
309 mapfile -t changed_c_libs < <(git diff --name-only HEAD $commit_to_compare -- lib/**/*.c module/**/*.c | xargs -r dirname | sort | uniq)
324 mapfile -t defined_symbols < <(git diff -U0 $commit_to_compare HEAD -- $c_lib | sed -En 's/(^[+])(spdk[a-z,A-Z,0-9,_]*)(\(.*)/\2/p')
326 mapfile -t removed_symbols < <(git diff -U0 $commit_to_compare HEAD -- $c_lib | sed -En 's/(^[-])(spdk[a-z,A-Z,0-9,_]*)(\(.*)/\2/p')
502 if [[ -n "$gofmtOut" ]] && [[ $gofmtOut == *"diff"* ]]; then
559 shfmt_cmdline+=(-d) # diffOut - print diff of the changes and exit with != 0
562 diff=${output_dir:-$PWD}/$shfmt.patch
564 if ! "$shfmt" "${shfmt_cmdline[@]}" "${sh_files[@]}" > "$diff"; then
566 # its stderr, hence the diff file should remain empty.
568 if [[ -s $diff ]]; then
569 if patch --merge -p0 < "$diff"; then
570 diff_out=$(git diff)
576 Please, review the generated patch at $diff
586 # Empty diff? This likely means that we reverted to a clean state
587 printf '* Patch reverted, please review your changes and %s\n' "$diff"
590 printf '* Failed to apply %s\n' "$diff"
595 rm -f "$diff"
609 mapfile -t orig_f < <(git diff --name-only)
706 staged=$(git diff --name-only --cached .)
710 files=$(git diff-tree --no-commit-id --name-only -r HEAD)
860 git diff --name-only HEAD HEAD~1
862 git diff --name-only --cached HEAD
863 git diff --name-only HEAD
867 local files=("$@") diff=() _diff=()
872 mapfile -t diff < <(get_diffed_files | sort -u)
880 if ((${#diff[@]} > 0)); then
881 # Check diff'ed files against the main list to see if they are a subset
885 printf '%s\n' "${diff[@]}" "${files[@]}" | sort | uniq -d