summaryrefslogtreecommitdiffstats
path: root/git_version.sh
Commit message (Collapse)AuthorAgeFilesLines
* git_version: fall back to git-describe w/o --long, and even git-rev-parse ↵Frank Ch. Eigler2009-04-241-1/+1
| | | | HEAD for old gits
* git_version: use --long mode to always add the git hash tooFrank Ch. Eigler2009-04-231-1/+1
|
* git_version: emit `git-describe` rather than just sha code, for use in stap -VFrank Ch. Eigler2009-04-231-2/+2
|
* tweak git_version.h generationFrank Ch. Eigler2009-01-301-1/+0
|
* Add hack to support git 1.6 in git_version.shTheodore Ts'o2008-07-091-0/+23
| | | | | | | | | | | | | | | | | | | This is needed now for people who are running the "master" branch of git, which is currently in development for git version 1.6.0. This is a kludge to support hyphenated git commands (i.e., git-diff-files), but this form is explicitly deprecated, and doesn't work in git 1.6 unless you put git's execdir (obtained via git --exec-path) in your PATH environment variable. Even then, these programs may no longer exist future versions of git. It would be better to change the script to use "git diff-files", et. al., but I assume upstream had some vaguely justifiable reason for not writing the script that way. I'll let them decide when they are willing to fix the script the right way, even if it means breaking compatibility for some ancient version of git. n.b., git 1.5.0 was released February 2007, and git 1.4.0 was released June, 2006. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
* Sync latest fix for git_version.sh from RadeonHD's treeTheodore Ts'o2008-07-091-1/+1
| | | | | | | This incorporates commit de4fbeeb: "Fix check for wrong macro in in git-version.sh", from the xf86-video-radeonhd tree. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
* PR6393: git version tagging at build timeFrank Ch. Eigler2008-04-101-0/+348
2008-04-10 Frank Ch. Eigler <fche@elastic.org> PR 6393. * git_version.sh: New file, copied from radeonhd. * configure.ac: No longer generate $builddir/SNAPSHOT. * Makefile.am: Generate $builddir/git_version.h. (EXTRA_DIST): Add git_version.h and git_version.sh. * main.cxx (version): Print generated GIT_MESSAGE therefrom. * Makefile.in, configure: Regenerated.