We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 416f981 + d12dcf5 commit c8346fcCopy full SHA for c8346fc
index.d.ts
@@ -12,6 +12,11 @@ declare namespace gitRepoInfo {
12
tag: string | null;
13
/** Tag for the closest tagged ancestor (or `null` if no ancestor is tagged) */
14
lastTag: string | null;
15
+ /**
16
+ * Number of commits since the closest tagged ancestor.
17
+ * `0` if this commit is tagged, or `Infinity` if no ancestor is tagged.
18
+ */
19
+ commitsSinceLastTag: number;
20
/** The committer of the current SHA */
21
committer: string;
22
/** The commit date of the current SHA */
0 commit comments