javascript - node git returning blame object -


i trying use nodegit nodegit.org blame of file using blame.file() returns me blame object rather actual git blame output. please correct me im using wrong.

   git.repository.open("./tmp").then((repo) => {       git.blame.file(repo, "package.json", "-p").then((b) => {         console.log(b);       });     }); 


Comments

Popular posts from this blog

'hasOwnProperty' in javascript -

How to put a lock and transaction on table using spring 4 or above using jdbcTemplate and annotations like @Transactional? -

How to understand 2 main() functions after using uftrace to profile the C++ program? -