Pretty diff to html javascript library (diff2html)
People
Repo info
Activity
Pedro Rijo
@pedrorijo91
great work, totally love it !
Ivan Vorontsov
@lantian
Hi, I'm not often using npm =), so i have a problem.Could some one help with this problem? I'm trying to use realease.sh script - installed some modules, but now I have a problem:
Error: Cannot find module 'hogan.js'
Installing hogan.js modules doesn't solves the problem, also I tried with: "hogan", "express-hogan". I seems that this not the thing I need for success compilation =). What should I to install?
Rodrigo Fernandes
@rtfpessoa
Hi @lantian , gitter did not notify me. So I only got here today.
Are you still experiencing any issues?
Anyway, you should always do npm run release to generate the assets. But please make sure you do not commit them with any PR. I usually only release them when publishing.
If you have any questions and I do not answer in 1/2 days, create an issue on GitHub.
Ivan Vorontsov
@lantian
Hello, thank you. Everything is fine. I was able to resolve the problem at the same day. node installation with global option helped me )
Adam Jimenez
@adamjimenez
Hi, I'm trying to run diff2html but struggling with my input. I'm using output from: git --no-pager show [commit]
hi @rtfpessoa , I guess your the right person to ask.
Adam Jimenez
@adamjimenez
forget I said anything it's working great!
can't believe how great this is, exactly what I needed.
Adam Jimenez
@adamjimenez
escitalopram
@escitalopram
Can you be more specific about what exactly goes wrong? The screenshot looks OK to me?
escitalopram
@escitalopram
ah, lol, didn't get that you already solved it, sry
Adam Jimenez
@adamjimenez
Hi, I just put the screenshot up there to show how I'm using it. It's working great.
Rodrigo Fernandes
@rtfpessoa
Only saw this today. I have no idea how to receive emails when you post here. BTW @adamjimenez I saw your feature suggestion.
If you want to contribute and have any questions let me know.
Ivan Vorontsov
@lantian
Hi @rtfpessoa , and again thanks to you for a great project! I have created a code review system - http://light-review.com/
Rodrigo Fernandes
@rtfpessoa
Nice @lantian will add it to the page
rainkin1993
@rainkin1993
hi everyone, I have a question: what is the meaning of Line similarity matching ? In my understand, the diff format input have the info of matching, such as del, insert.
Rodrigo Fernandes
@rtfpessoa
Hi @rainkin1993
git diffs do not place similar lines near each other
What the Line similarity does is place the similar lines one after each other allowing for an easier comparison even if the blocks are not exactly placed in the diff.
Was this helpful?
srounet
@srounet
hello
I would like to use diff2html with an output from python difflib, it should be possible but I don't know how to render it with the library
But it renders nothing after drawing, I suppose the input format is wrong ?
srounet
@srounet
Ok got it to work
just added filename to diff
--- config +++ config
ty, and have a nice day
Rodrigo Fernandes
@rtfpessoa
Hi @srounet, sorry for the delay, glad you got this to work
George
@GeorgeValentin
I have to files named a.txt and b.txt, both have about 40k lines. git diff a.txt b.txt pass the output to diff2html and my browser has been stuck for a long time. any optimization suggestion?
Rodrigo Fernandes
@rtfpessoa
Sorry for the delay, when you have any problems open an issue since I do not get emails from here. Try to disable the comparisons and line matching it should help.