use a better diff algo

This commit is contained in:
keyan 2024-03-12 20:04:12 -05:00
parent 8a96fbb4d0
commit 46effa6992
1 changed files with 1 additions and 1 deletions

2
sndev
View File

@ -58,7 +58,7 @@ sndev__start() {
if ! [ -f .env.development ]; then
echo ".env.development does not exist ... creating from .env.sample"
cp .env.sample .env.development
elif ! git diff --exit-code .env.sample .env.development; then
elif ! git diff --exit-code --diff-algorithm=histogram .env.sample .env.development; then
echo ".env.development is different from .env.sample ..."
echo "do you want to merge .env.sample into .env.development? [y/N]"
read -r answer