summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrian m. carlson <sandals@crustytoothpaste.net>2019-12-17 12:27:48 +0000
committerbrian m. carlson <sandals@crustytoothpaste.net>2019-12-17 12:27:48 +0000
commitd2b78e1e821428b62bbd510637bb8a825dbf19eb (patch)
tree13b07551b946e27baec7028e8da8752515e8f8aa
parentce74fe6d7e758e6e9417d21549734cf9e4a34bf0 (diff)
gitconfig: fix format of reflog expiration
The reflog expiration was being interpreted as 0, meaning that they were pruned immediately upon gc. Fix this by specifying an approxidate value that will be interpreted correctly by Git. Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
-rw-r--r--git/gitconfig4
1 files changed, 2 insertions, 2 deletions
diff --git a/git/gitconfig b/git/gitconfig
index a6af590..5fbd4e9 100644
--- a/git/gitconfig
+++ b/git/gitconfig
@@ -95,8 +95,8 @@
process = git-lfs filter-process
smudge = git-lfs smudge -- %f
[gc]
- reflogExpire = 365d
- reflogExpireUnreachable = 365d
+ reflogExpire = "365 days"
+ reflogExpireUnreachable = "365 days"
[hub]
protocol = https
[i18n]