Compare commits
No commits in common. "master" and "v0.0.12" have entirely different histories.
7
Makefile
7
Makefile
|
@ -10,13 +10,6 @@ build: goimports
|
||||||
ldd going2git
|
ldd going2git
|
||||||
LD_LIBRARY_PATH=/opt/libgit2 ./going2git --refs --repo .
|
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:
|
build-libgit2:
|
||||||
cd /opt/libgit2/ && cmake .
|
cd /opt/libgit2/ && cmake .
|
||||||
cd /opt/libgit2/ && cmake --build .
|
cd /opt/libgit2/ && cmake --build .
|
||||||
|
|
2
refs.go
2
refs.go
|
@ -34,7 +34,7 @@ func walkRepo(repo *git.Repository) {
|
||||||
log.Info("done", err)
|
log.Info("done", err)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
log.Info("walkRepo() ref =", ref.Name(), ref.SymbolicTarget(), ref.Shorthand())
|
log.Info("walkRepo() head", ref, err, "ref.Name =", ref.Name(), ref.SymbolicTarget(), ref.Shorthand())
|
||||||
// fmt.Printf("%+v\n", ref)
|
// fmt.Printf("%+v\n", ref)
|
||||||
// SymbolicTarget()
|
// SymbolicTarget()
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue