antonmedv / antonmedv/gitmal

Anchor links to specific line(s) in commit diffs

オープン
#8 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る
feature
主要言語
Go
スター
1.3k
フォーク
50
PR マージ指標
30日以内にマージされた PR はありません

説明

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.

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。