pcal43 / fastback

Fast, incremental Minecraft world backups. Powered by Git.
https://pcal43.github.io/fastback/
GNU General Public License v2.0
133 stars 20 forks source link

Appears to Creates Bare Branches rather than branching off from previous #180

Closed Merith-TK closed 1 year ago

Merith-TK commented 1 year ago

image

From my understanding of how git should work, it should instead show more of a branching method, rather than just straight lines? (branching off from the previous branch)

By the looks of this, it appears to be making an new bare branch (contains no history) and then commits to that rather than branching off of the previous

personally, if I knew how to use the library and actually code java, I would look into making the mod use tags rather than branches, (branch being snapshots/server-uuid with tags containing the date so its easier to track the changes through the days as git diff would actually work)

Merith-TK commented 1 year ago

Yeah its just making bare branches

otherwise the diff wouldnt look like this (in the screenshot I only changed two lines between this snapshot and the last outside of region files) image

its committing as if the file is brand new and not modified

pcal43 commented 1 year ago

This is working as intended. Snapshots are created on orphan branches so that they can be removed and their disk space reclaimed.