Cr-Commit-Position: refs/heads/master@{#292272}
+Cr-Commit-Position: refs/heads/main@{#292272}
Tech-Debt-Introduced: 17 nanoMSOffices
From 29521bc672082ba1a23bf522cb56653acb452fa0 Mon Sep 17 00:00:00 2001
From: Josip Sokcevic
Cr-Commit-Position: refs/heads/master@{#292272}
+Cr-Commit-Position: refs/heads/main@{#292272}
Tech-Debt-Introduced: 17 nanoMSOffices
git footers
knows how to extract this information.
refs/heads/master@{#292272}
+refs/heads/main@{#292272}
refs/branch-heads/branchname
Extracts and prints the Chrome commit position ref name only
- (ref/heads/master
or refs/branch-heads/branchname
in the example above).
+ (ref/heads/main
or refs/branch-heads/branchname
in the example above).
$ git footers HEAD
Tech-Debt-Introduced: -4 microMSOffices
Tech-Debt-Introduced: 17 microMSOffices
-Cr-Commit-Position: refs/heads/master@{#292272}
+Cr-Commit-Position: refs/heads/main@{#292272}
$ git footers --key Tech-Debt-Introduced HEAD
-4 microMSOffices
17 microMSOffices
$ git footers --position HEAD
-refs/heads/master@{#292272}
+refs/heads/main@{#292272}
$ git footers --position-num HEAD
292272
$ git footers --position-ref HEAD
-refs/heads/master
+refs/heads/main