From 80d532afc6de7df0cf817ee77d08c6eeb257a9c0 Mon Sep 17 00:00:00 2001 From: James Moger <james.moger@gitblit.com> Date: Thu, 23 May 2013 23:07:47 -0400 Subject: [PATCH] New JGit util method to retrieve changed paths in a commit range (issue 226) --- src/main/java/com/gitblit/IStoredSettings.java | 10 ++++++++++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/src/main/java/com/gitblit/IStoredSettings.java b/src/main/java/com/gitblit/IStoredSettings.java index 790f8b6..246262d 100644 --- a/src/main/java/com/gitblit/IStoredSettings.java +++ b/src/main/java/com/gitblit/IStoredSettings.java @@ -288,6 +288,16 @@ } /** + * Override the specified key with the specified value. + * + * @param key + * @param value + */ + public void overrideSetting(String key, int value) { + overrides.put(key, "" + value); + } + + /** * Updates the values for the specified keys and persists the entire * configuration file. * -- Gitblit v1.9.1