You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@netbeans.apache.org by GitBox <gi...@apache.org> on 2018/01/25 15:30:22 UTC
[GitHub] JaroslavTulach opened a new pull request #391: Support git replace in search history window
JaroslavTulach opened a new pull request #391: Support git replace in search history window
URL: https://github.com/apache/incubator-netbeans/pull/391
If one needs Apache as well as pre-Apache history, one shall follow the [readme advice](https://github.com/apache/incubator-netbeans/blob/9.0-beta-rc2/README.md) and use `git replace` command to connect the two histories. Then one can use regular command line `git` commands and search both histories.
However the NetBeans IDE was showing just the recent Apache history so far. This PR is trying to fix that (at least in a search history component). Now, if you select a file (I tried `build.xml` in root of the sources) and choose *Git->Show history*, you shall see all the commits as the command line `git log build.xml` would show.
We probably need changes like this in other places as well. I want to encourage everyone to contribute. Not much `(j)git` knowledge is needed (I don't have much either). Just, when there is a `RevCommit` without parent, search for `refs/replace/$targetId` and if found, continue in the new chain of references.
Please review my attempt and feel encouraged to apply similar changes in other places in the NetBeans Git support.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists