Skip to main content



      Home
Home » Eclipse Projects » Mylyn » create context from git diff
create context from git diff [message #1299974] Thu, 17 April 2014 04:31 Go to next message
Eclipse UserFriend
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 13:35 Go to previous message
Eclipse UserFriend
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:keybinding for focusing a view
Next Topic:Removal of Local task repo - safe?
Goto Forum:
  


Current Time: Tue May 20 18:29:25 EDT 2025

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

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

Back to the top