wspringer / difr Goto Github PK
View Code? Open in Web Editor NEWPoor-man's code review tool; creates a static HTML page of a git diff with an editor for comments embedded.
Poor-man's code review tool; creates a static HTML page of a git diff with an editor for comments embedded.
What is the problem? Help please.
Home@HOME-PC /C/xampp/htdocs (master)
$ git diff HEAD^ | java -jar difr.jar > review.html
warning: LF will be replaced by CRLF in admin/slide.php.
The file will have its original line endings in your working directory.
**
The file will have its original line endings in your working directory.
Exception in thread "main" java.lang.RuntimeException: `--- ' expected but `B' f
ound at 3244.1
at scala.sys.package$.error(package.scala:27)
at nl.flotsam.difr.GitDiffParser$.asDiffs(GitDiff.scala:114)
at nl.flotsam.difr.Tool$.nl$flotsam$difr$Tool$$parse(Tool.scala:107)
at nl.flotsam.difr.Tool$$anonfun$main$1.apply(Tool.scala:91)
at nl.flotsam.difr.Tool$$anonfun$main$1.apply(Tool.scala:91)
at nl.flotsam.difr.Tool$.usingIn(Tool.scala:67)
at nl.flotsam.difr.Tool$.main(Tool.scala:91)
at nl.flotsam.difr.Tool.main(Tool.scala)
Hello,
i have installed git, git flow and difr,
This works:
git diff| java -jar difr.jar > diff_test.html
But why does a git diff of branches does not work?
git diff testing master| java -jar difr.jar > diff_test.html
With this command i get the following error:
Exception in thread "main" java.lang.RuntimeException: --- ' expected but
B' found at 54.1
at scala.sys.package$.error(package.scala:27)
at nl.flotsam.difr.GitDiffParser$.asDiffs(GitDiff.scala:114)
at nl.flotsam.difr.Tool$.nl$flotsam$difr$Tool$$parse(Tool.scala:107)
at nl.flotsam.difr.Tool$$anonfun$main$1.apply(Tool.scala:91)
at nl.flotsam.difr.Tool$$anonfun$main$1.apply(Tool.scala:91)
at nl.flotsam.difr.Tool$.usingIn(Tool.scala:67)
at nl.flotsam.difr.Tool$.main(Tool.scala:91)
at nl.flotsam.difr.Tool.main(Tool.scala)
Thanks!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.