]> git.ipfire.org Git - thirdparty/git.git/commit - GIT-VERSION-GEN
git-gui: Ensure version number is always current.
authorShawn O. Pearce <spearce@spearce.org>
Sun, 21 Jan 2007 01:31:09 +0000 (20:31 -0500)
committerShawn O. Pearce <spearce@spearce.org>
Sun, 21 Jan 2007 07:54:19 +0000 (02:54 -0500)
commitf1cee4e6d19919f6e333f9e671c720003a9a7cec
treebc74537b8aa7e80aae6e6a9e7a5e4a40398ae97a
parent0499b24ad664d7f6a33d4cfe4a11912ae455b039
git-gui: Ensure version number is always current.

I'm stealing the exact logic used by core Git within its own Makefile to
setup the version number within scripts and executables.  This way we
can be sure that the version number is always updated after a commit,
and that the version number also reflects when it is coming from a dirty
working directory (and is thus pretty worthless).

I've cleaned up some of the version display code in the about dialog too.
There were simply too many blank lines in the bottom section where we
showed the version data.

Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
.gitignore
GIT-VERSION-GEN [new file with mode: 0755]
Makefile
git-gui.sh