git-gui: Guess our version accurately as a subproject.

When we are included as a subproject, such as how git.git carries
us, we want to retain our own version number and not the version
number assigned by git.git's own tags.  Consequently we need to
locate the correct tag which applies to our tree content and
its commit lineage.

Signed-off-by: Shawn O. Pearce <>
1 file changed
tree: 481061eaf23d64cafe562d36d9b3db8a1d1d0695
  1. .gitignore
  3. Makefile
  4. TODO