Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BACKPORT] repo-add: unconditionally create the database if it is missing #49

Merged
merged 1 commit into from
May 9, 2024

Commits on May 9, 2024

  1. repo-add: unconditionally create the database if it is missing

    In f91fa54 (repo-add: do not recreate the database if nothing was changed),
    repo-add was made to skip database write-out if there were no changes to
    the database. However, this breaks the usage of repo-add to create a new
    empty database: `repo-add /path/to/mydb/mydb.db.tar.xz`.
    
    Bring back support for this use-case by always writing the database if
    it is missing.
    
    Fixes: f91fa54
    intelfx authored and lazka committed May 9, 2024
    Configuration menu
    Copy the full SHA
    08aa50e View commit details
    Browse the repository at this point in the history