aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTeddy Wing2023-11-24 20:44:18 +0100
committerTeddy Wing2023-11-24 20:44:18 +0100
commit9afec6570dd9795aeb720678cd3b2286d3998a13 (patch)
tree380ea89649727af66eeca9fd2e750fd73d23543a
parent7659cf07f118fec4c1ba9677c82a7ef61511e797 (diff)
downloadcode-review-9afec6570dd9795aeb720678cd3b2286d3998a13.tar.bz2
code-review-database: Remove "..." from merge base
I don't think this is the right approach, but since I added the "..." in `code-review-changed-files` in 7659cf07f118fec4c1ba9677c82a7ef61511e797, removing the "..." from here allows the difftool script to work when using the default merge base.
-rw-r--r--code-review-database4
1 files changed, 2 insertions, 2 deletions
diff --git a/code-review-database b/code-review-database
index 3c3a1ee..5c931c6 100644
--- a/code-review-database
+++ b/code-review-database
@@ -70,10 +70,10 @@ function create_merge_base_from_current () {
function get_merge_base () {
local head="$(current_branch)"
- local default_base='master...'
+ local default_base='master'
if git config remote.origin.url > /dev/null; then
- default_base='origin/master...'
+ default_base='origin/master'
fi
sqlite3 "$DATABASE" <<-SQL