summaryrefslogtreecommitdiff
path: root/src/diff_driver.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/diff_driver.c')
-rw-r--r--src/diff_driver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/diff_driver.c b/src/diff_driver.c
index c3c5f365b..56f89b30c 100644
--- a/src/diff_driver.c
+++ b/src/diff_driver.c
@@ -239,7 +239,7 @@ static int git_diff_driver_load(
memcpy(drv->name, driver_name, namelen);
/* if you can't read config for repo, just use default driver */
- if (git_repository_config_snapshot(&cfg, repo) < 0) {
+ if (git_repository_config(&cfg, repo) < 0) {
giterr_clear();
goto done;
}