author | Shawn O. Pearce <spearce@spearce.org> | |
Sun, 21 Jan 2007 01:31:09 +0000 (20:31 -0500) | ||
committer | Shawn O. Pearce <spearce@spearce.org> | |
Sun, 21 Jan 2007 07:54:19 +0000 (02:54 -0500) | ||
commit | f1cee4e6d19919f6e333f9e671c720003a9a7cec | |
tree | bc74537b8aa7e80aae6e6a9e7a5e4a40398ae97a | tree | snapshot |
parent | 0499b24ad664d7f6a33d4cfe4a11912ae455b039 | commit | diff |
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>
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 | diff | blob | history | |
GIT-VERSION-GEN | [new file with mode: 0755] | blob |
Makefile | diff | blob | history | |
git-gui.sh | diff | blob | history |