[SPIGOT-4558] spigot.yml,server.properties, and bungeecord config.yml files are having lines in config randomly reordered Created: 31/Dec/18 Updated: 31/Dec/18 Resolved: 31/Dec/18 |
|
| Status: | Resolved |
| Project: | Spigot |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Minor |
| Reporter: | Jason H. | Assignee: | Unassigned |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | 1.13.2, Spigot, git | ||
| Environment: |
6 Servers running version of Spigot mentioned below 1 server running bungeecord git:BungeeCord-Bootstrap:1.13-SNAPSHOT:7dd0928:1386 |
||
| Attachments: |
|
| Version: | git-Spigot-1959ad2-2bc7d1d (MC: 1.13.2) (Implementing API version 1.13.2-R0.1-SNAPSHOT) |
| Guidelines Read: | Yes |
| Description |
|
I'm using git to manage my config files ( *.yml and * .properties files). I have noticed that even when there are no changes that have been made on my part, that 'git diff' is showing that the configs have changed. When looking at the changes, It appears that it's only moving the lines of the config around, but not actually changing any values. So if on line 3 there is a specific config setting, the next time I pull the configs down and do a 'git diff' that specific config would be on a complete different line. This is happening to the following files so far: spigot.yml See attached for examples of each files 'git diff' |
| Comments |
| Comment by md_5 [ 31/Dec/18 ] |
|
Resolved for Bukkit yaml files (spigot.yml). server.properties is a Java thing and BungeeCord is separate. NOTE: In most cases the "sorting" will be stable. After you make your change, run the server & commit the result then. It shouldn't usually change further. |