GIT EOL norm. script messages

This commit is contained in:
Jindra Petřík
2016-08-14 09:26:32 +02:00
parent 75944132de
commit 6f23bc0673

View File

@@ -1,3 +1,5 @@
@echo This will normalize line endings in the GIT repository
@pause
git add . -u
@if %errorlevel% neq 0 goto failed
git commit -m "Saving files before refreshing line endings"
@@ -12,8 +14,9 @@ git commit -m "Normalize all the line endings"
@rem No errorlevel check here - the commit can be empty
@goto okay
:failed
@echo "ERROR: Something FAILED"
@echo ERROR: Something FAILED
@goto finish
:okay
@echo "SUCCESS"
:finish
@echo SUCCESS
:finish
@pause