diff options
author | Junio C Hamano <gitster@pobox.com> | 2008-06-16 10:48:46 +0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2008-06-29 09:07:00 +0400 |
commit | 3cb22b8efe2cab60dc0ef5e265c414bd826d83ef (patch) | |
tree | 0316747696c00bdc6fd44394dae956d4f37ca06c /parse-options.h | |
parent | 336d09daf288492946f0c51f071da11643f8363d (diff) |
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 'parse-options.h')
0 files changed, 0 insertions, 0 deletions