summaryrefslogtreecommitdiff
path: root/index-helper.c
diff options
context:
space:
mode:
Diffstat (limited to 'index-helper.c')
-rw-r--r--index-helper.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/index-helper.c b/index-helper.c
index af354856b8..7e6242516a 100644
--- a/index-helper.c
+++ b/index-helper.c
@@ -399,6 +399,8 @@ int main(int argc, char **argv)
git_extract_argv0_path(argv[0]);
git_setup_gettext();
+ git_config_get_int("indexhelper.exitafter", &idle_in_seconds);
+
if (argc == 2 && !strcmp(argv[1], "-h"))
usage_with_options(usage_text, options);