common: fix parsing commit messages
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user