Add Comment to explain why we use git-diff again
This commit is contained in:
parent
7bd0e439a3
commit
f2936bb4d4
|
@ -25,6 +25,10 @@ _main() {
|
|||
|
||||
_add_files
|
||||
|
||||
# Check dirty state of repo again using git-diff.
|
||||
# (git-diff detects beter if CRLF of files changes and does NOT
|
||||
# proceed, if only CRLF changes are detected. See #241 and #265
|
||||
# for more details.)
|
||||
if [ -n "$(git diff --staged)" ] || "$INPUT_SKIP_DIRTY_CHECK"; then
|
||||
_local_commit
|
||||
|
||||
|
|
Loading…
Reference in New Issue