(
commitExpression: string[],
options?: string[]
)
| 266 | } |
| 267 | |
| 268 | async revList( |
| 269 | commitExpression: string[], |
| 270 | options?: string[] |
| 271 | ): Promise<string> { |
| 272 | const args = ['rev-list'] |
| 273 | if (options) { |
| 274 | args.push(...options) |
| 275 | } |
| 276 | args.push(...commitExpression) |
| 277 | const output = await this.exec(args) |
| 278 | return output.stdout.trim() |
| 279 | } |
| 280 | |
| 281 | async revParse(ref: string, options?: string[]): Promise<string> { |
| 282 | const args = ['rev-parse'] |
no test coverage detected