sq_quote_argv and add_to_string rework with strbuf's.
[gitweb.git] / builtin-blame.c
index e364b6c6c0efed272484718e502f2b5bc18e7946..16c0ca82063b35651cacc56b20ebd73c3526acfb 100644 (file)
@@ -1430,8 +1430,7 @@ static void get_commit_info(struct commit *commit,
 static void write_filename_info(const char *path)
 {
        printf("filename ");
-       write_name_quoted(NULL, 0, path, 1, stdout);
-       putchar('\n');
+       write_name_quoted(path, stdout, '\n');
 }
 
 /*