diff options
author | Edward Welbourne <edward.welbourne@qt.io> | 2023-06-01 12:00:42 +0200 |
---|---|---|
committer | Edward Welbourne <edward.welbourne@qt.io> | 2023-07-07 15:03:44 +0200 |
commit | f53ea47a74fba5bbca4d0dc7358fc1f53d461fec (patch) | |
tree | ac3eb9943fd7298cc694af543fd5aef7203d57b3 /scripts/api-review | |
parent | 591ecb3dad7a7a7dd0623a5f478acf71112b93f5 (diff) |
Consistently ignore missing file errors when checking out
When resetting a (possibly new) header to the old tag, or deleting it,
because resetboring says it has a disclaimer saying it's not public,
suppress the same pathspec error as when checking out old headers to
the new tag, or deleting them.
Change-Id: I5f6a27af569da7e194c45d1ab5daee4d0f2745a6
Reviewed-by: Daniel Smith <Daniel.Smith@qt.io>
Diffstat (limited to 'scripts/api-review')
-rwxr-xr-x | scripts/api-review/api-review-gen | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/api-review/api-review-gen b/scripts/api-review/api-review-gen index 61ac088b..3e7097d6 100755 --- a/scripts/api-review/api-review-gen +++ b/scripts/api-review/api-review-gen @@ -336,7 +336,7 @@ do mutter "Reverting the boring changes to $QTMODULE" run "$THERE/resetboring.py" --disclaim | while read f do git checkout $QUIET "$PRIOR" -- "$f" || logged rm -f "$f" - done + done 2>&1 | grep -wv "error: pathspec '.*' did not match any" if git diff --quiet --cached then |