The Wayback Machine - https://web.archive.org/web/20160820043312/https://github.com/github/VisualStudio/pull/510
Skip to content

[WIP] Generate Copy/Open link based on the latest commit #510

Open
wants to merge 2 commits into
from

2 participants

@paladique
GitHub member

Fixes #343

paladique added some commits Aug 19, 2016
@paladique paladique added method to get the latest pushed sha
62feac9
@paladique paladique spacing cleanup
9acae4f
@paladique paladique added the WIP label Aug 19, 2016
@paladique paladique changed the title from Generate Copy/Open link based on the latest commit to [WIP] Generate Copy/Open link based on the latest commit Aug 19, 2016
@shana

Probably worth checking whether the branch is tracking a remote branch and whether the commit hashes match there, and then maybe checking if any commits are reachable on that tracking branch, as an optimization, before going on enumerating all the remotes branches and all the local commits. Very likely the branch has been pushed at least once so that might hit a large chunk of use cases.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can't perform that action at this time.
Morty Proxy This is a proxified and sanitized view of the page, visit original site.