jira-importer commented on issue #1064: URL: https://github.com/apache/maven-scm/issues/1064#issuecomment-2964643575
**[Michael Osipov](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=michael-o)** commented There are now two ways to solve this: 1. Drop end version when cache is run. This one's easy. 2. Add a `-Dstaged` parameter to the goal, because you haven't requested the staged diff with `scm:diff` and the `DiffResult` command line won't reveal that it can with `--cached`. I'd expect a PR here. Variables in `GitDiffCommand` are incorrectly labeled: `clDiff2Index` does not query the index at all. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
