.
This commit is contained in:
parent
35bb830cfd
commit
64fcc0c59a
8 changed files with 3285 additions and 145 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue