I have hyperlinks set up to make commit hashes link to corresponding pages on gitlab; for the most part it works great, but if there are multiple things resembling commit hashes on a line it seems to only make the last one a link. There are a few scenarios in which this behavior is inconvenient for me:
- I'm using git range-diff, which displays multiple commit hashes per line, all of which I'd like to become links.
- I'm using git log with a --pretty format that puts the commit hash and the commit title on the same line, and a commit title mentions another commit's hash (say, "revert commit xyz").
- I'm using git log with a --pretty format that puts the commit hash and the commit title on the same line, and a commit title mentions something that isn't a commit hash, but the parser thinks is one, like an 8 digit number. (The link to a nonexistent commit would be fine, except that it blocks creation of a useful link.)
Links would be more useful for me if in all of these scenarios it turned both into links (or even 3/4/5/etc. links on one line, if multiple of those things happened together, I suppose).
I have hyperlinks set up to make commit hashes link to corresponding pages on gitlab; for the most part it works great, but if there are multiple things resembling commit hashes on a line it seems to only make the last one a link. There are a few scenarios in which this behavior is inconvenient for me:
Links would be more useful for me if in all of these scenarios it turned both into links (or even 3/4/5/etc. links on one line, if multiple of those things happened together, I suppose).