summaryrefslogtreecommitdiff
path: root/helperPatches.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-09-04 22:48:32 -0500
committerJeff Carr <[email protected]>2025-09-04 22:48:32 -0500
commitc5025d25b2cb8306539f43c836063e0b55e49792 (patch)
treeacd4db7a7d295520e7cf09e62e5e0727828abb3d /helperPatches.go
parente09849b1a21349f1ac5eaa8d61547a38815c28c6 (diff)
Diffstat (limited to 'helperPatches.go')
-rw-r--r--helperPatches.go8
1 files changed, 8 insertions, 0 deletions
diff --git a/helperPatches.go b/helperPatches.go
index 9280adb..c869697 100644
--- a/helperPatches.go
+++ b/helperPatches.go
@@ -108,6 +108,14 @@ func cleanSubject(line string) string {
return strings.TrimSpace(cleaned)
}
+// jcarr@framebook:~/go/src/go.wit.com/lib/protobuf/forgepb$ git branch --contains 4a27e7702b9b975b066ec9d2ee7ac932d86552e3
+// * jcarr
+// jcarr@framebook:~/go/src/go.wit.com/lib/protobuf/forgepb$ git merge-base --is-ancestor "4a27e7702b9b975b066ec9d2ee7ac932d86552e3" "devel" ; echo $?
+// 1
+// jcarr@framebook:~/go/src/go.wit.com/lib/protobuf/forgepb$ git merge-base --is-ancestor "4a27e7702b9b975b066ec9d2ee7ac932d86552e3" "jcarr" ; echo $?
+// 0
+
+
func findCommitByHash(hash string, subject string) (string, error) {
cmd := exec.Command("git", "log", "--pretty=format:%H %s")
var out bytes.Buffer