1
0
Fork 0
mirror of https://github.com/git/git.git synced 2024-10-30 05:47:53 +01:00
Find a file
Shawn O. Pearce 26370f73c0 git-gui: Prefer version file over git-describe.
Some distributions are using Git for part of their package
management system, but unpack Git's own source code for
delivery from the .tar.gz.  This means that when we walk
up the directory tree with git-describe to locate a Git
repository, the repository we find is for the distribution
and *not* for git-gui.  Consequently any tag we might find
there is bogus and does not apply to us.

In this case the version file should always exist and be
readable, as the packager is working from the released
.tar.gz sources.  So we should always favor the version
file over anything git-describe guess for us.

Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
2007-02-14 01:55:16 -05:00
.gitignore git-gui: Ensure version number is always current. 2007-01-21 02:54:19 -05:00
git-gui.sh git-gui: Print version on the console. 2007-02-14 00:28:00 -05:00
GIT-VERSION-GEN git-gui: Prefer version file over git-describe. 2007-02-14 01:55:16 -05:00
Makefile git-gui: Generate a version file on demand. 2007-02-12 16:14:44 -05:00
TODO git-gui: Update todo list with finished and new items. 2007-01-21 22:47:59 -05:00