hosted-git-info icon indicating copy to clipboard operation
hosted-git-info copied to clipboard

Feature Request: Link Directly to a Commit

Open pburrows opened this issue 1 year ago • 0 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues

Current Behavior

Perhaps I missed it, but I don't see a way to generate a link directly to a specific commit. For instance:

  • https://github.com/microsoft/vscode-extension-samples/commit/519619525e928dc671db2ea83b1b855431eb49ad
  • https://gitlab.com/dmfay/massive-js/-/commit/d3d36d4b980d99af2eaffe3da898b7961bd65a92

(just some random repos I had handy)

Expected Behavior

Create a new method called .commit() that takes a committish as the first argument, and any necessary options as the second argument, and will return a URL to that specific commit.

Steps To Reproduce

na

Environment

na

pburrows avatar Nov 20 '22 11:11 pburrows