Skip to content

Support line ranges for commit URLs#37

Open
odnoletkov wants to merge 1 commit into
tpope:masterfrom
odnoletkov:master
Open

Support line ranges for commit URLs#37
odnoletkov wants to merge 1 commit into
tpope:masterfrom
odnoletkov:master

Conversation

@odnoletkov

@odnoletkov odnoletkov commented Jan 11, 2019

Copy link
Copy Markdown

Anchor format is

#diff-<MD5 of path>[L|R]<line number>

With L line number is relative to the --- side, with R to the +++ side.
Path of the +++ side used when it exists, otherwise path of the --- side
(for removals).

@odnoletkov

Copy link
Copy Markdown
Author

Relevant vim-fugitive pull request: tpope/vim-fugitive#1171

Comment thread autoload/rhubarb.vim Outdated
Anchor format is:

   #diff-<SHA256 of path>[[L|R]<start line number>[-[L|R]<end line number>]]

With L line number is relative to the '---' side, and R to the '+++'
side of the diff.  Path of the '+++' side used when it exists, otherwise
path of the '---' side (for removals).

Closes tpope#36
@greg0ire

greg0ire commented Jan 9, 2022

Copy link
Copy Markdown

@odnoletkov hi! Not sure if that's what blocking this PR, but there are conflicts.

@tpope

tpope commented Jan 9, 2022

Copy link
Copy Markdown
Owner

Conflicts aren't a blocker at this point.

@greg0ire

greg0ire commented Jan 9, 2022

Copy link
Copy Markdown

OK, sorry

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

Successfully merging this pull request may close these issues.

3 participants