summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2008-06-15 23:48:46 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2008-06-28 22:07:00 -0700
commit3cb22b8efe2cab60dc0ef5e265c414bd826d83ef (patch)
tree0316747696c00bdc6fd44394dae956d4f37ca06c /t
parentMake git reflog expire honour core.sharedRepository. (diff)
downloadtgif-3cb22b8efe2cab60dc0ef5e265c414bd826d83ef.tar.xz
Per-ref reflog expiry configuration
In addition to gc.reflogexpireunreachable and gc.reflogexpire, this lets you set gc.<pattern>.reflogexpireunreachable and gc.<pattern>.reflogexpire variables. When "git reflog expire" expires reflog entry for $ref, the expiry timers are taken from the first <pattern> that matches $ref (and if there isn't the global default value is used). For example, you could: [gc "refs/stash"] reflogexpire = never reflogexpireunreachable = never [gc "refs/remotes/*"] reflogexpire = 7 days reflogexpireunreachable = 3 days [gc] reflogexpire = 90 days reflogexpireunreachable = 30 days Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't')
0 files changed, 0 insertions, 0 deletions