From 8f298f3e6cb13baaf569690aedd00cb3713039b9 Mon Sep 17 00:00:00 2001 From: Jonas Fonseca Date: Mon, 24 Mar 2008 01:10:23 +0100 Subject: [PATCH] blame: Fix opening from subdirectory and consecutive invokations --- tig.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tig.c b/tig.c index 39d63e7..5524a07 100644 --- a/tig.c +++ b/tig.c @@ -3159,8 +3159,8 @@ tree_request(struct view *view, enum request request, struct line *line) return REQ_NONE; } - string_copy(opt_ref, ref_commit); - string_ncopy(opt_file, filename, strlen(filename)); + string_copy(opt_ref, view->vid); + string_format(opt_file, "%s%s", opt_path, filename); return request; } if (request == REQ_TREE_PARENT) { -- 2.30.2