From 8f8ee8697131ea149568a02b77f23dc8dedae99a Mon Sep 17 00:00:00 2001 From: Robert Günzler Date: Thu, 29 Jan 2026 19:16:23 +0100 Subject: consolidate time access behind getLastEdit MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit and drop sourcing times from git for now... Signed-off-by: Robert Günzler --- src/exe.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/exe.zig') diff --git a/src/exe.zig b/src/exe.zig index c1f084b..6aa260d 100644 --- a/src/exe.zig +++ b/src/exe.zig @@ -75,7 +75,7 @@ fn pandocWorker(ctx: *Context, page: []const u8) !void { defer ctx.allocator().free(target_path); // get mtime of the source document - const mtime = try (fs.getGitTime(source_path) catch fs.getMtime(source_path)); + const mtime = try fs.getLastEdit(source_path); const mtime_str = try fs.formatTimespec(ctx.allocator(), mtime, "%s"); defer ctx.allocator().free(mtime_str); -- cgit 1.4.1