diff options
| author | 2026-02-24 11:48:54 +0100 | |
|---|---|---|
| committer | 2026-02-24 11:49:35 +0100 | |
| commit | 0d28d54f0a287ee3e5a12d14ffd2ee23b5e22d76 (patch) | |
| tree | ec8517157a5f04a1c2cd5a49d9eeb4c3af90f63b /ui-diff.c | |
| parent | Bump version (diff) | |
| download | cgit-master.tar.xz cgit-master.zip | |
This exists for other CPU heavy operations like blame, but doesn't for
the follow functionality. Add it for that.
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'ui-diff.c')
| -rw-r--r-- | ui-diff.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -395,7 +395,7 @@ void cgit_print_diff(const char *new_rev, const char *old_rev, * entire commit to detect renames so we must limit the paths in our * own callbacks and not pass the prefix to the diff machinery. */ - if (ctx.qry.follow && ctx.cfg.enable_follow_links) { + if (ctx.qry.follow && ctx.repo->enable_follow_links) { current_prefix = prefix; prefix = ""; } else { |
