about summary refs log tree commit diff
path: root/ui-blob.c
diff options
context:
space:
mode:
authorLars Hjemli <hjemli@gmail.com>2009-12-12 12:09:47 +0100
committerLars Hjemli <hjemli@gmail.com>2009-12-12 12:09:47 +0100
commit547a64fbd65de293c290f4e18bbeae958d54aaa7 (patch)
treee35d8ae4e9408cd552e539c5af08d4bd6fdd1e8f /ui-blob.c
parentAdd .tar.xz-snapshot support (diff)
parentCGIT 0.8.3.1 (diff)
downloadcgit-pink-547a64fbd65de293c290f4e18bbeae958d54aaa7.tar.gz
cgit-pink-547a64fbd65de293c290f4e18bbeae958d54aaa7.zip
Merge branch 'stable'
Diffstat (limited to '')
-rw-r--r--ui-blob.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui-blob.c b/ui-blob.c
index 2ccd31d..89330ce 100644
--- a/ui-blob.c
+++ b/ui-blob.c
@@ -50,7 +50,7 @@ void cgit_print_blob(const char *hex, char *path, const char *head)
 		commit = lookup_commit_reference(sha1);
 		match_path = path;
 		matched_sha1 = sha1;
-		read_tree_recursive(commit->tree, NULL, 0, 0, paths, walk_tree, NULL);
+		read_tree_recursive(commit->tree, "", 0, 0, paths, walk_tree, NULL);
 		type = sha1_object_info(sha1,&size);
 	}