ehamery opened a new issue, #8469:
URL: https://github.com/apache/netbeans/issues/8469

   ### Apache NetBeans version
   
   Apache NetBeans 25
   
   ### What happened
   
   The diff panel when selecting 2 commits (from `History`) displays files in 
the wrong order:
   `commit | older-commit` instead of
   `older-commit | commit`.
   
   ### Language / Project Type / NetBeans Component
   
   any file with a git history
   
   ### How to reproduce
   
   Pre-requisites:
   - have a file with at least 2 git commits
   - have both some deletions and additions on different lines (optional)
   
   How to proceed:
   - open a file with some git history
   - at the top left corner click `History` (next to `Source`)
   - click on 1 commit in the file history, the diff view below is split as 
follows:
     `selected-commit | current file`
   - click on the right panel (current file)
   - add a new line, it will appear in green (addition) in that same panel 
(current file)
   - delete a line, the deleted line will appear in red (deletion) in the left 
panel (commit)
   - now go back to the git history above, select a git commit (let's call it 
`commit-2025`), hold the command key (on mac) or shift and select an older 
commit  (let's call it `commit-2024`)
   - in the panel below the commits are displayed in reversed chronological 
order:
     `commit-2025 | commit-2024` instead of:
     `commit-2024 | commit-2025` to be consistent with the order when selecting 
only 1 file and coloring scheme.
     The order being reverse, the coloring system (which would be correct for 
`commit-2024 | commit-2025`) is also wrong, green for deletion and red for 
addition.
   
   ### Did this work correctly in an earlier version?
   
   Apache NetBeans 21 or earlier
   
   ### Operating System
   
   Mac - Intel
   
   ### JDK
   
   the one coming bundled with the installer
   
   ### Apache NetBeans packaging
   
   Apache NetBeans provided installer
   
   ### Anything else
   
   _No response_
   
   ### Are you willing to submit a pull request?
   
   Yes


-- 
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: notifications-unsubscr...@netbeans.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscr...@netbeans.apache.org
For additional commands, e-mail: notifications-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to