Basically I need to get older version of a file in the repository without changing the current working file.
I thought of different ways:
- Temporary branch and do the thing
- Copy the file, checkout the file do my thing and return it
But those ways are really slow and complex. Isn’t there something simpler than that in ngit?
Using NGit: for details of the method usage, please see jgit documentation http://jgit.info/javadoc/