Skip to content
Permalink

Comparing changes

This is a direct comparison between two commits made in this repository or its related repositories. View the default comparison for this range or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: yadm-dev/yadm
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: fb6478e1e836eba6ffd590e539b8fc6eecaed15a
Choose a base ref
..
head repository: yadm-dev/yadm
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 7cc378f8a232b7599c43e038359a7e2a8f74cab5
Choose a head ref
Showing with 2 additions and 2 deletions.
  1. +2 −2 yadm
4 changes: 2 additions & 2 deletions yadm
Original file line number Diff line number Diff line change
@@ -237,12 +237,12 @@ function score_file() {
esac
shopt -u nocasematch

(( negate )) && delta=$(( -delta ))
(( negate )) && delta=$((-delta))
if ((delta < 0)); then
score=0
return
fi
score=$(( score + 1000 + delta ))
score=$((score + 1000 + delta))
done

record_score "$score" "$target" "$source" "$template_processor"