common: fix parsing commit messages

This commit is contained in:
2025-05-07 12:31:11 +02:00
parent 91d915cc28
commit 41d536ea1b

View File

@@ -29,6 +29,15 @@ import (
"testing"
)
func TestGitSLFO(t *testing.T) {
SetLoggingLevel(LogLevelDebug)
a, _ := AllocateGitWorkTree("/tmp", "test", "test")
git, _ := a.ReadExistingPath("SLFO")
data, err := git.GitCatFile("", "c07c52c57a10fb355956df3caad2986613838f149274fbe312ad76560764829d", "staging.config")
t.Log(err)
t.Fatal(string(data))
}
func TestGitClone(t *testing.T) {
tests := []struct {
name string