Jump to content

ResetID comment `Default=` changes every restart


TheCatInABox

Recommended Posts

Every restart, ResetID's comment `Default=` changes every restart, this is not an issue on its own, but it can be if it's sat on a github repository.

The reason I have the server settings sat on a github repository is simple as, admins may need to interact with .ini and .lua files on the server, but they do not need ssh access. So this is a good medium. I have the server push its changed on restart in case in game settings change (and pull on startup), but it results in 1 commit every restart caused by `ResetID` comment changing.

I can do a work around with `git diff --shortstat` and `awk`, but It would be awesome if this could be fixed.


image.thumb.png.212d80693d8f7b668cd4828bef6738b9.png

Link to comment
Share on other sites

Yea, this *only* affects the resetid comment, no other comment in game changes on every restart. Just wanted to check if this is intentional/wont be fixed, as this might be an issue somebody else runs into later on.

If somebody is looking at this issue in the future, a workaround using awk is:

git diff --shortstat | awk '{if ($4 < 2 || $6 < 2) exit 1}' && some_other_command

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...