Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EGit / JGit » Commit diff view for index
Commit diff view for index [message #1742618] Tue, 06 September 2016 07:55 Go to next message
Felix Dorner is currently offline Felix DornerFriend
Messages: 392
Registered: December 2015
Senior Member
Hi,

In the commit view there's a nice tab "Diff" which shows the entire diff of a commit. Is there a similar diff view for the index?

Felix
Re: Commit diff view for index [message #1742623 is a reply to message #1742618] Tue, 06 September 2016 08:18 Go to previous messageGo to next message
Matthias Sohn is currently offline Matthias SohnFriend
Messages: 1268
Registered: July 2009
Senior Member
- open the staging view
- ensure that "Compare mode" is on
- double click a staged file
Re: Commit diff view for index [message #1742656 is a reply to message #1742623] Tue, 06 September 2016 12:38 Go to previous messageGo to next message
Felix Dorner is currently offline Felix DornerFriend
Messages: 392
Registered: December 2015
Senior Member
That's not what I mean. I hate that compare mode. I want a plain diff -u, like it's seen in the commit viewer's diff tab. And not just for a single file, but all staged files.
Re: Commit diff view for index [message #1743115 is a reply to message #1742656] Mon, 12 September 2016 10:53 Go to previous message
Matthias Sohn is currently offline Matthias SohnFriend
Messages: 1268
Registered: July 2009
Senior Member
This doesn't exist yet.

We could show another version representing the index in the history view and
enhance the commit viewer to allow showing the diff for the index. The same
view could be linked from the staging view.

Contributions welcome.
Previous Topic:JGit plumbing API - commit new or modified file to non-current branch
Next Topic:How to push the currently checked out branch with it's commits?
Goto Forum:
  


Current Time: Fri Apr 26 17:02:08 GMT 2024

Powered by FUDForum. Page generated in 0.03447 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top