Andrew Bettison
2854821678
Improve version_string.sh: add <refspec> argument
2014-03-03 15:16:53 +10:30
Andrew Bettison
702d22de99
Fix version_string.sh: check for .git directory was too early
2013-11-21 17:09:25 +10:30
gardners
003603b97c
minor tweaks to bash compatibility fixes.
2013-11-21 16:36:59 +10:30
gardners
22258b60c0
fixes and improvements to handling of git repo with no tags on branch.
2013-11-21 16:35:02 +10:30
gardners
fd6db45759
stop failure to get commit id when in a git repository but not on
...
a tagged branch (fd 5 was non-existent). Not tested with a tagged
branch.
2013-10-22 12:23:03 -07:00
gardners
6ee774f10b
build when not in git repostory.
2013-10-20 14:59:00 -07:00
Andrew Bettison
6fadb73f1f
Improve version_string.sh: detect changes in submodules
2013-10-07 04:47:13 +10:30
Andrew Bettison
c7eb5776f9
Fix version_string.sh script
...
Fix logic for appending dirty suffix to synthetic version string
(only used when no tags present, ie "git describe" fails).
2013-09-24 10:46:20 +09:30
Andrew Bettison
2e211a62d5
Fix version_string.sh: dirty suffix on untracked files
...
Don't use the git describe --dirty option to append the suffix
because it only considers changes in tracked files as dirt. If
the script wants to consider untracked files as dirt then this
will not do.
2013-09-23 17:38:23 +09:30
Andrew Bettison
db7e9004b3
Fix bug in version_string.sh
...
git describe --dirty does not accept HEAD (committish) arg
2013-09-17 10:51:50 +09:30
Andrew Bettison
987875969c
Improve version_string.sh script
...
Full --help usage message
Better error handling and reporting
Only considers tags that look like version numbers
Does not create and delete local "START" tag
Lots of options, including --ignore-untracked and --unmodified
Suitable for use in Batphone repository
2013-09-12 17:50:54 +09:30
gardners
8045e57b81
fixed version_string.sh to work (or at least not fail) with git
...
1.7.3.
2013-04-26 15:27:53 +09:30
Andrew Bettison
edd245fa81
Fix version_string.sh for older Git versions
2013-03-18 14:31:19 +10:30
Andrew Bettison
b17f5a6f63
Servald version string from git describe
2013-03-12 14:03:33 +10:30