From 7659cf07f118fec4c1ba9677c82a7ef61511e797 Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Mon, 30 Oct 2023 00:09:45 +0100 Subject: code-review-changed-files: Add "..." to the merge base Doesn't cover all the cases, but I think this should give us the correct set of files when the merge base has been set via `code-review-start`. Otherwise we might end up with a bunch of files that came from other branches, not the one we're reviewing now. --- code-review-changed-files | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code-review-changed-files b/code-review-changed-files index 8413b47..1d55d86 100755 --- a/code-review-changed-files +++ b/code-review-changed-files @@ -21,5 +21,5 @@ SCRIPT="$(dirname "$0")" source "$SCRIPT/code-review-database" -git diff --name-only "$(get_merge_base)" | +git diff --name-only "$(get_merge_base)"... | awk -v git_root="$GIT_ROOT" '{ print git_root "/" $0 }' -- cgit v1.2.3