aboutsummaryrefslogtreecommitdiffstats
path: root/code-review-changed-files
diff options
context:
space:
mode:
authorTeddy Wing2023-10-30 00:09:45 +0100
committerTeddy Wing2023-10-30 00:09:45 +0100
commit7659cf07f118fec4c1ba9677c82a7ef61511e797 (patch)
treeaf5941e9b212ee1e6149387053d968d76b9a4503 /code-review-changed-files
parente2dfaa222065257a7ce674b0c1eaf8bd3f9ebdf7 (diff)
downloadcode-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.
Diffstat (limited to 'code-review-changed-files')
-rwxr-xr-xcode-review-changed-files2
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 }'