This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Git library has to be enhanced to allow: 1) return status of local files against any revision, not just the HEAD 2) compare and return file statuses for two commits/revisions
Asking for review of the following API change. Adding two new methods to GitClient API: the first compares local files against any git commit while the second compares any two commits.
Created attachment 132509 [details] api change
... just to make sure what the new methods are: > the first compares local files against any git commit public Map<File, GitStatus> getStatus (File[] roots, String revision, ProgressMonitor monitor) > while the second compares any two commits. public Map<File, GitFileInfo> getStatus (File[] roots, String revisionFirst, String revisionSecond, ProgressMonitor monitor)
i will integrate tomorrow
fix: http://hg.netbeans.org/core-main/rev/9bf0efd1a5a3
Integrated into 'main-golden', will be available in build *201303192300* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/9bf0efd1a5a3 User: Ondrej Vrabec <ovrabec@netbeans.org> Log: #227348 - API allowing to compare between different branches - compare any two revisions - compare working tree to any revision