This commit is contained in:
eric sciple
2019-12-10 01:32:25 -05:00
parent 35bb830cfd
commit 64fcc0c59a
8 changed files with 3285 additions and 145 deletions

View File

@@ -5,6 +5,15 @@ export interface ICheckoutInfo {
startPoint: string
}
export function getDownloadRef(ref: string, commit: string): string {
if (commit) {
return commit
}
// todo fix this to work with refs/pull etc
return ref
}
export async function getCheckoutInfo(
git: IGitCommandManager,
ref: string,