Skip to content

Specifying granularity #45

@agzam

Description

@agzam

I recently screwed my entire org-roam library by accidentally pressing "sync" button in Orgzly. It took me a while to clean up the mess and I realized that I finally needed to find some time to figure out how to not to screw up like that ever again.

This project is awesome and I love it. However, since I constantly edit my org files, it got me wondering if making tiny commits for every single change is actually a good thing. Not that it bothers me now, but I don't know how many commits in the git log is too many. Never had this problem before and probably using this package won't cause any troubles for me ever.

Just to clarify, this isn't a "feature request" or anything, just a simple thought that haunted me for a minute, so I decided to post it here for posterity.

What do you think of the possibility of making the commits granular, i.e., "commit once a day" or "not more than once per every hour"? Basically, checking if the last commit was "x time ago", just keep the stuff staged but not committed. The next time when it's time to commit, check again and if it's due - commit everything, including what was previously staged.

Correct me if I'm wrong, I saw gac-debounce-interval, but I think it's serves a different purpose.

Anyway, as I said - just a thought, nothing else. If I get bored or something, I might try to implement that myself. Once again, many thanks for this very useful package.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions