Skip to content

Commit

Permalink
We can still check merge conflicts even if there are skipped files
Browse files Browse the repository at this point in the history
  • Loading branch information
nvie committed Jan 5, 2022
1 parent 7227492 commit 0b38d48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion git-merges-cleanly
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ branch=$1

git sha -q "$1"

if git is-dirty; then
if git is-dirty -iw; then
echo "Can't check when you have local changes." >&2
exit 2
fi
Expand Down

0 comments on commit 0b38d48

Please sign in to comment.