add more detail to the compare script; add level 4 and 5
This commit is contained in:
14
B_Compare.sh
14
B_Compare.sh
@@ -28,29 +28,39 @@ echo -n "STATUS - "
|
||||
if [[ $(cmp -s "${tmpDir}/goalStatus.txt" "${tmpDir}/workStatus.txt";echo $?) == 0 ]]
|
||||
then echo "OK"
|
||||
else echo "FAIL"
|
||||
diff -y --color=always *Status.txt
|
||||
echo
|
||||
fi
|
||||
|
||||
echo -n "INDEX-FILES - "
|
||||
echo -n "INDEX/WORKDIR-FILES - "
|
||||
if [[ $(cmp -s "${tmpDir}/goalStageFiles.txt" "${tmpDir}/workStageFiles.txt";echo $?) == 0 ]]
|
||||
then echo "OK"
|
||||
else echo "FAIL"
|
||||
diff -y --color=always *StageFiles.txt
|
||||
echo
|
||||
fi
|
||||
|
||||
echo -n "PUSH-STATE - "
|
||||
echo -n "PUSH/COMMMIT-STATE - "
|
||||
if [[ $(cmp -s "${tmpDir}/goalPushState.txt" "${tmpDir}/workPushState.txt";echo $?) == 0 ]]
|
||||
then echo "OK"
|
||||
else echo "FAIL"
|
||||
diff -y --color=always *PushState.txt
|
||||
echo
|
||||
fi
|
||||
|
||||
echo -n "BRANCH-SETUP - "
|
||||
if [[ $(cmp -s "${tmpDir}/goalBranchSetup.txt" "${tmpDir}/workBranchSetup.txt";echo $?) == 0 ]]
|
||||
then echo "OK"
|
||||
else echo "FAIL"
|
||||
diff -y --color=always *BranchSetup.txt
|
||||
echo
|
||||
fi
|
||||
|
||||
echo -n "REMOTES - "
|
||||
if [[ $(cmp -s "${tmpDir}/goalRemotes.txt" "${tmpDir}/workRemotes.txt";echo $?) == 0 ]]
|
||||
then echo "OK"
|
||||
else echo "FAIL"
|
||||
diff -y --color=always *Remotes.txt
|
||||
echo
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user