Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Mylyn » create context from git diff
create context from git diff [message #1299974] Thu, 17 April 2014 08:31 Go to next message
Jens von Pilgrim is currently offline Jens von PilgrimFriend
Messages: 313
Registered: July 2009
Senior Member

sometimes it would be useful (in particular for code reviews w/o Gerrit)
to create a context from a given git diff between to branches.

E.g., a colleague has created a branch NEW and I want to review his
changes. Then I can create a git diff showing me the changed files via

git diff --name-status master..NEW

It would be extremely helpful if I could create a Mylyn context
containing these files. Is this already possible somehow? Or is this a
feature request?

Re: create context from git diff [message #1300588 is a reply to message #1299974] Thu, 17 April 2014 17:35 Go to previous message
Sam Davis is currently offline Sam DavisFriend
Messages: 98
Registered: July 2012
In theory, if you use the EGit Mylyn integration, you can right click on a commit and select "Add to Task Context," provided your Git config contains the following section:

url = <task repository URL>

However, this appears to be broken. I've opened the following bug; you may wish to add yourself to the CC:

433030: Add to Task Context does not work

Previous Topic:keybinding for focusing a view
Next Topic:Removal of Local task repo - safe?
Goto Forum:

Current Time: Sun Dec 04 10:13:26 GMT 2022

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

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

Back to the top