Hi.
As you may noticed the NetBeans source code donation is just a ZIP file - e.g. 
it has no history. However history of the project is important source of 
information, and it would be bad if we lost it. Thanks to Emilian, we still 
have it.

Here is how you can create a combined repository with full history for HTML/
Java API:

$ git clone https://github.com/apache/incubator-netbeans-html4j html+java+both
$ cd html+java+both
$ git log boot/src/main/java/net/java/html/boot/BrowserBuilder.java

This gives you just two log entries. The initial checkin and change of the 
headers to Apache. But then the magic comes:

$ git remote add emilian https://github.com/emilianbold/netbeans-html4j
$ git fetch emilian
$ git replace 408363d d029b8e

And when you search the log, or use the blame tool, the full history is 
available:

$ git log boot/src/main/java/net/java/html/boot/BrowserBuilder.java
$ git blame boot/src/main/java/net/java/html/boot/BrowserBuilder.java

Thanks Emilian!
-jt

Reply via email to