Enable the .. argument for git log (#188500)

* Enable the `..` argument for git log
This will return the commits that the `toRef` has but the `fromRef` does not.

* Use range instead
This commit is contained in:
Alex Ross
2023-09-04 14:36:16 +02:00
committed by GitHub
parent 5f935919c6
commit 1ac6f50f44
2 changed files with 10 additions and 1 deletions

View File

@@ -129,6 +129,8 @@ export interface LogOptions {
/** Max number of log entries to retrieve. If not specified, the default is 32. */
readonly maxEntries?: number;
readonly path?: string;
/** A commit range, such as "0a47c67f0fb52dd11562af48658bc1dff1d75a38..0bb4bdea78e1db44d728fd6894720071e303304f" */
readonly range?: string;
}
export interface CommitOptions {