stuff from late July

This commit is contained in:
Jeff Carr 2025-08-16 17:02:53 -05:00
parent 672e567aa1
commit 4802283a28
2 changed files with 8 additions and 1 deletions

View File

@ -10,6 +10,13 @@ build: goimports
ldd going2git
LD_LIBRARY_PATH=/opt/libgit2 ./going2git --refs --repo .
run:
LD_LIBRARY_PATH=/opt/libgit2 ./going2git --refs --repo .
build-libgit2-prep:
cd /opt/ && git clone https://github.com/libgit2/libgit2.git
apt build-dep libgit2
build-libgit2:
cd /opt/libgit2/ && cmake .
cd /opt/libgit2/ && cmake --build .

View File

@ -34,7 +34,7 @@ func walkRepo(repo *git.Repository) {
log.Info("done", err)
return
}
log.Info("walkRepo() head", ref, err, "ref.Name =", ref.Name(), ref.SymbolicTarget(), ref.Shorthand())
log.Info("walkRepo() ref =", ref.Name(), ref.SymbolicTarget(), ref.Shorthand())
// fmt.Printf("%+v\n", ref)
// SymbolicTarget()
}