diff options
author | Teddy Wing | 2023-10-30 00:09:45 +0100 |
---|---|---|
committer | Teddy Wing | 2023-10-30 00:09:45 +0100 |
commit | 7659cf07f118fec4c1ba9677c82a7ef61511e797 (patch) | |
tree | af5941e9b212ee1e6149387053d968d76b9a4503 | |
parent | e2dfaa222065257a7ce674b0c1eaf8bd3f9ebdf7 (diff) | |
download | code-review-7659cf07f118fec4c1ba9677c82a7ef61511e797.tar.bz2 |
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.
-rwxr-xr-x | code-review-changed-files | 2 |
1 files changed, 1 insertions, 1 deletions
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 }' |