1. 10 Apr, 2019 5 commits
    • Duy Nguyen's avatar
      backup-log: keep all blob references around · b567b90e
      Duy Nguyen authored
      The four commands prune, rev-list, pack-objects and repack are updated
      to not consider backup-log's blobs as unreachable and either delete
      them outright or not repack them.
      b567b90e
    • Duy Nguyen's avatar
      gc: prune backup logs · 33f6f8e7
      Duy Nguyen authored
      33f6f8e7
    • Duy Nguyen's avatar
      backup-log: add prune command · 22d5252e
      Duy Nguyen authored
      22d5252e
    • Duy Nguyen's avatar
      backup-log.c: add API for walking backup log · 7edf059d
      Duy Nguyen authored
      7edf059d
    • Duy Nguyen's avatar
      backup-log: add "update" subcommand · ea6215df
      Duy Nguyen authored
      This defines backup log file format and adds basic support for writing
      new entries to backup log files. The format is the same as reflog
      except that "message" field becomes "path".
      
      Similar to reflog, updating is done by appending to the end of the file
      instead of creating a branch new file and do an atomic rename. If the
      backup log file gets large, regenerating whole file could take longer,
      and we should keep backup log overhead to minimum since it will be
      called by a bunch of commands later.
      ea6215df