mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-05-23 21:44:32 +00:00
19 lines
492 B
Batchfile
19 lines
492 B
Batchfile
git add . -u
|
|
@if %errorlevel% neq 0 goto failed
|
|
git commit -m "Saving files before refreshing line endings"
|
|
@if %errorlevel% neq 0 goto failed
|
|
git rm --cached -r .
|
|
@if %errorlevel% neq 0 goto failed
|
|
git reset --hard
|
|
@if %errorlevel% neq 0 goto failed
|
|
git add .
|
|
@if %errorlevel% neq 0 goto failed
|
|
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"
|
|
@goto finish
|
|
:okay
|
|
@echo "SUCCESS"
|
|
:finish |