1

The cgit docs indicate that cgit compiles git into itself as well.

Is that git version used by your whole server or is it used internally by cgit only to parse the git repositories?

vfclists
  • 19,193
  • 21
  • 73
  • 92

1 Answers1

1

The git version is statically compiled into cgit, it is independent from the server. In fact, cgit can run without having git installed (it does not execute an external program).

For example, consider the cgit package in Arch Linux, git is not marked as dependency. There is a single binary resulting from the build process.

Lekensteyn
  • 64,486
  • 22
  • 159
  • 192
  • I linda worked it out. I was worried because the version required was usually behind mainline git. – vfclists Apr 12 '13 at 22:14
  • @vfclists That is because the git API is not stable. See [this debian bug for example](http://bugs.debian.org/407722). git is mainly meant as a stand-alone program, not as a library. – Lekensteyn Apr 13 '13 at 13:43