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: 295
Registered: July 2009
Senior Member
Hi,

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?

Regards,
Jens
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: 48
Registered: July 2012
Member
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:

[bugtracker]
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
https://bugs.eclipse.org/bugs/show_bug.cgi?id=433030

Cheers,
Sam
Previous Topic:Mylyn 3.11 Available
Next Topic:keybinding for focusing a view
Goto Forum:
  


Current Time: Fri May 22 11:32:33 GMT 2015

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

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