Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: add "comment on line in diff" #14

Open
jamesarosen opened this issue Jan 7, 2011 · 0 comments
Open

Feature: add "comment on line in diff" #14

jamesarosen opened this issue Jan 7, 2011 · 0 comments

Comments

@jamesarosen
Copy link

I'd love to use this to help me with my code reviews.

1: pipe the diff into TextMate:

$ git diff HEAD~5..HEAD | mate

2: select "Git -> Comment on line from diff"

3: GitHub.Bundle parses the diff file for the closest file marker above the current line and calculates an offset from there to get the line number

4: GitHub.Bundle runs git blame on the file and calculated line

  1. GitHub.Bundle generates a URL for the commit/file/line and opens it in the browser.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant