Skip to content
  • Duy Nguyen's avatar
    update-index: support backup log with --keep-backup · b2e8d5cd
    Duy Nguyen authored
    Since this is a plumbing command, backup log support remains off by
    default and only active when both --keep-backup and core.backupLog=true
    are specified.
    
    The check of core.backupLog is mostly for convenient, the calling script
    does not have to explicitly check core.backupLog every time it executes
    update-index. Truly disabling backup log must be done with something
    like
    
        git -c core.backupLog=false update-index ...
    b2e8d5cd