antonmedv / antonmedv/gitmal

Anchor links to specific line(s) in commit diffs

Đang mở
#8 2 bình luận 0 reaction 0 người được giao Xem trên GitHub
feature
Ngôn ngữ chính
Go
Star
1.3k
Fork
50
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

Would be useful to have anchors for lines in commits diffs (*in addition to already existing anchors in browsing "regular" files*), for example like it is done on GitHub:

```
https://github.com/antonmedv/gitmal/commit/2d31323ad174fb2f7aa7312009814118784a45b8#diff-2873f79a86c0d8b3335cd7731b0ecf7dd4301eb19a82ef7a1cba7589b5252261R78
```

So here the `#diff-2873f79a86c0d8b3335cd7731b0ecf7dd4301eb19a82ef7a1cba7589b5252261R78` part is an anchor to a specific line in the diff.

Or like this for a range of lines:

```
https://github.com/antonmedv/gitmal/commit/2d31323ad174fb2f7aa7312009814118784a45b8#diff-2873f79a86c0d8b3335cd7731b0ecf7dd4301eb19a82ef7a1cba7589b5252261R78-R80
```

so it's the same but plus `-R80` part.

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.