Lines Matching refs:past_ref
205 local -r past_ref="$2"
207 for ref in "$base_ref" "$past_ref"; do
236 local -r past_ref="$2"
244 …printf "Checking changes to UAPI headers between %s and %s...\n" "$past_ref" "${base_ref:-dirty tr…
257 check_individual_file "$base_ref" "$past_ref" "$file" &
259 done < <(get_file_list "$past_ref")
299 local -r past_ref="$2"
303 local -r past_header="$(get_header_tree "$past_ref")/${file}"
308 "$file" "$past_ref" "$base_ref" \
313 compare_abi "$file" "$base_header" "$past_header" "$base_ref" "$past_ref"
322 local -r past_ref="$5"
339 …if ! do_compile "$(get_header_tree "$past_ref")/include" "$past_header" "${past_header}.bin" 2> "$…
342 "$file" "$past_ref")
357 "$file" "$past_ref" "$base_ref"
379 "$file" "$past_ref" "$base_ref")
384 … printf "\n%s did not change between %s and %s...\n" "$file" "$past_ref" "${base_ref:-dirty tree}"
457 if ! git rev-parse --verify "$past_ref" > /dev/null 2>&1; then
458 printf 'error - invalid git reference "%s"\n' "$past_ref"
463 if ! git merge-base --is-ancestor "$past_ref" "$base_ref" > /dev/null 2>&1; then
464 printf 'error - "%s" is not an ancestor of base ref "%s"\n' "$past_ref" "$base_ref"
467 if [ "$(git rev-parse "$base_ref")" = "$(git rev-parse "$past_ref")" ]; then
468 printf 'error - "%s" and "%s" are the same reference\n' "$past_ref" "$base_ref"
476 local past_ref="$2"
490 if [ -z "$past_ref" ]; then
492 past_ref="${base_ref}^1"
494 past_ref=HEAD
513 install_headers "$base_ref" "$past_ref"
516 …if diff -r -q "$(get_header_tree "$base_ref")" "$(get_header_tree "$past_ref")" > /dev/null 2>&1; …
517 …printf "No changes to UAPI headers were applied between %s and %s\n" "$past_ref" "${base_ref:-dirt…
521 if ! check_uapi_files "$base_ref" "$past_ref" "$abi_error_log"; then
542 past_ref="$OPTARG"
570 run "$base_ref" "$past_ref" "$abi_error_log" "$@"