build-aux/git-version-gen


Log

Author Commit Date CI Message
Paul Eggert 04c1ac69 2012-01-05T23:44:15 Use ', not `, for quoting output. * build-aux/announce-gen (usage, sizes, print_news_deltas) (print_changelog_deltas, get_tool_versions, main program): * build-aux/git-version-gen: * build-aux/gitlog-to-changelog (usage, parse_amend_file): * build-aux/move-if-change (help): * build-aux/useless-if-before-free (usage, main program): * check-module (parse_module_file, usage) (find_included_lib_files, check_module): * lib/argmatch.c (main) [TEST]: * lib/argp-help.c (_help): * lib/getopt1.c (main) [TEST]: * lib/git-merge-changelog.c (usage): * lib/xstrtol-error.c (xstrtol_error): * m4/alloca.m4 (_AC_LIBOBJ_ALLOCA): * m4/argz.m4 (gl_FUNC_ARGZ): * m4/bison.m4 (gl_BISON): * m4/calloc.m4 (gl_FUNC_CALLOC_GNU): * m4/extensions.m4 (AC_USE_SYSTEM_EXTENSIONS): * m4/flexmember.m4 (AC_C_FLEXIBLE_ARRAY_MEMBER): * m4/fpending.m4 (gl_PREREQ_FPENDING): * m4/gc-random.m4 (gl_GC_RANDOM): * m4/intl.m4 (gt_CHECK_DECL): * m4/link-follow.m4 (gl_FUNC_LINK_FOLLOWS_SYMLINK): * m4/longlong.m4 (AC_TYPE_LONG_LONG_INT) (AC_TYPE_UNSIGNED_LONG_LONG_INT): * m4/ls-mntd-fs.m4 (gl_LIST_MOUNTED_FILE_SYSTEMS): * m4/lstat.m4 (gl_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK): * m4/onceonly.m4 (AC_CHECK_FUNCS_ONCE): * m4/posixver.m4 (gl_DEFAULT_POSIX2_VERSION): * tests/test-dirname.c (main): * tests/test-getpass.c (main): * tests/test-iconvme.c (main): * tests/test-parse-datetime.c (LOG): * tests/test-xstrtoimax.sh: * tests/test-xstrtol.sh: * tests/test-xstrtoll.sh: * tests/test-xstrtoumax.sh: * tests/unigbrk/test-uc-is-grapheme-break.c (main): * top/GNUmakefile (abort-due-to-no-makefile): Quote 'like this', not `like this', as per the recent change to the GNU coding standards.
Jim Meyering 1602f0af 2012-01-01T10:04:58 maint: update all copyright year number ranges Run "make update-copyright".
Simon Josefsson de82454c 2011-11-13T14:46:48 Fix for last commit.
Simon Josefsson b50f7306 2011-11-13T14:43:35 git-version-gen: Add --prefix. * build-aux/git-version-gen: Add --prefix to configure the tag match string.
Simon Josefsson d67fde90 2011-11-13T11:07:41 git-version: Improve command line handling. * build-aux/git-version-gen: Add --help and --version.
Jim Meyering 17857d41 2011-08-11T14:16:35 git-version-gen: correct the advice in a comment * build-aux/git-version-gen: Correct comment. Don't recommend to list .tarball-version in .gitignore.
Iain Nicol c596dce2 2011-07-31T13:30:59 git-version-gen: document that EXTRA_DIST must include .version * build-aux/git-version-gen: In the how-to-use comment, document that EXTRA_DIST must include .version. Otherwise, "make distcheck" will fail when run from an unpacked distribution tarball.
Jim Meyering fd0201cc 2011-02-19T20:48:36 git-version-gen: skip "-dirty" check when appropriate * build-aux/git-version-gen: Don't run any git commands when the version string comes from .tarball-version. Prior to this, we would run git update-index --refresh even from a just-unpacked tarball directory, and that could affect a .git/ directory in a parent of the build directory. Reported by Mike Frysinger.
Bruce Korb a77937c4 2011-01-04T09:47:49 git-version-gen: avoid a sub-shell * build-aux/git-version-gen: Redirect stderr in `...` via "exec 2>...", rather than via an added sub-shell. [This commit is referenced from coreutils-8.9's gnulib submodule.]
Bruce Korb 67c47b3e 2011-01-04T09:33:27 avoid an unnecessary sub-shell
Bruce Korb fa6be5b2 2011-01-04T09:47:49 git-version-gen: avoid a sub-shell * build-aux/git-version-gen: Redirect stderr in `...` via "exec 2>...", rather than via an added sub-shell.
Ben Pfaff a2e8447d 2011-01-03T21:05:04 git-version-gen: use (...) rather than sh -c '...' * build-aux/git-version-gen: Rather than hard-coding a shell's name with "sh -c '...'", just use "(...)". Less syntax is better, too.
Jim Meyering 307d4349 2011-01-03T20:41:49 git-version-gen: convert leading TABs to spaces * build-aux/git-version-gen: Expand leading TABs.
Jim Meyering 98e2bedb 2011-01-03T19:35:19 git-version-gen: handle failed "git rev-list" * build-aux/git-version-gen: Rather than leaking a "fatal" error from git and proceeding as if it had succeeded but printed no SHA1 checksums, suppress the diagnostic and handle the failure. Reported by Bruce Korb in http://marc.info/?l=git&m=129399145930450&w=2
Jim Meyering 55b66285 2011-01-03T11:50:43 git-version-gen: include command name in one more diagnostic * build-aux/git-version-gen: When the required .tarball-version file was missing or unreadable, you might see the diagnostic from "cat", but no trace of the name of the invoking script. Now, you still see the diagnostic from cat, but also get one from "git-version-gen: ". Inspired by a patch from Bruce Korb.
Jim Meyering d60f3b0c 2011-01-01T20:17:23 maint: update almost all copyright ranges to include 2011 Run the new "make update-copyright" rule.
Jim Meyering 49e38169 2010-10-13T22:11:31 git-version-gen: do require git-VC'd files in cwd * build-aux/git-version-gen: Reject a git version string if there are no commits associated with the current directory. This avoids an unlikely false-positive (unrelated dir whose parent repository also contains a tag matching v*), as pointed out by Giuseppe Scrivano in http://thread.gmane.org/gmane.comp.lib.gnulib.bugs/21843/focus=23664
Jim Meyering 932cfeb1 2010-10-13T16:08:36 git-version-gen: don't require that .git/ be in the current dir * build-aux/git-version-gen: Adjust this script so that it works when run from any working directory beneath the top-level .git/- containing directory. Inspired by a patch from Giusseppe Scrivano, http://thread.gmane.org/gmane.comp.lib.gnulib.bugs/21843/focus=21847
Thien-Thi Nguyen e0fcde81 2010-06-14T22:25:42 git-version-gen: init shell var to avoid env var influence * build-aux/git-version-gen (v): Init shell var to empty. Signed-off-by: Eric Blake <eblake@redhat.com>
Ludovic Courtès 8ab5996c 2010-05-28T12:15:23 git-version-gen: take a sed script to transform the git tag * build-aux/git-version-gen (tag_sed_script): New variable. Use it to transform the output of "git describe" to the canonical form. * top/GNUmakefile (_curr-ver): Pass $(git-version-gen-tag-sed-script) as a second argument to `git-version-gen'.
Jim Meyering 6e417acc 2010-04-26T18:59:46 git-version-gen: aesthetic tweak * build-aux/git-version-gen: Use "$nl" rather than a literal, so that the command remains on a single line.
Eric Blake 95d5b874 2010-04-26T09:44:42 git-version-gen: allow use on EBCDIC hosts * build-aux/git-version-gen (dirty): Use literal rather than tying ourselves to ascii. Reported by Steve Goetze. Signed-off-by: Eric Blake <eblake@redhat.com>
Andreas Gruenbacher 197b47e4 2010-04-12T17:56:27 git-version-gen: use "git update-index..." rather than "git status" * build-aux/git-version-gen: Use git update-index --refresh, not "git status". With some versions of git, "git status" would fail to update the index and result in an unwarranted "-dirty" suffix.
Eric Blake 108cfb80 2010-02-24T10:25:56 bootstrap, git-version-gen: use timestamp Timestamps are useful, particularly for files copied into other packages, to see how long since a file has forked. * build-aux/git-version-gen (scriptversion): Force UTC. * build-aux/bootstrap (scriptversion): New variable. Signed-off-by: Eric Blake <eblake@redhat.com>
Jim Meyering fb4a9aa8 2010-01-27T17:12:30 maint: normalize copyright notices Normalize some copyright comments: change the two spaces before "Free Software..." to one: git grep -l -E '[0-9]{4} *Free Software' \ | xargs perl -pi -e 's/ +(Free Software)/ $1/'
Simon Josefsson ff867baa 2010-01-27T16:13:04 Fix copyright statement.
Ralf Wildenhues acaed473 2009-09-10T19:57:57 Fix copyright header in build-aux scripts. * build-aux/git-version-gen: Fix copyright header to match GPLv3 recommendation. * build-aux/ncftpput-ftp: Likewise. * build-aux/update-copyright: Likewise. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Eric Blake cfda7816 2008-04-08T07:38:18 Use 'git describe --match' if present (added in git 1.5.5). * build-aux/git-version-gen: Limit result to tags that match 'v*' if possible. Signed-off-by: Eric Blake <ebb9@byu.net>
Eric Blake 1a98f86f 2008-04-03T16:31:30 Ensure sane .version contents. * top/GNUmakefile (_dummy): Also delete .version when rebuilding version string. * build-aux/git-version-gen: Improve documentation. Signed-off-by: Eric Blake <ebb9@byu.net>
Jim Meyering 2745af10 2008-03-02T17:19:20 * build-aux/git-version-gen: Adjust a comment and the Usage string. Signed-off-by: Jim Meyering <meyering@redhat.com>
Bob Proulx 511e2bf8 2008-02-21T09:07:10 Enable use of older two part flavor 'git describe'. * build-aux/git-version-gen: If using the older two part flavor of git version then recreate the third part now present in the newer three part flavor of git describe.
Jim Meyering 77b76ce0 2008-02-08T11:31:54 * build-aux/git-version-gen: Use "git status", not "git-status".
Jim Meyering 0f6573c5 2007-11-05T08:27:07 git-version-gen: sync from coreutils. * build-aux/git-version-gen: Add comments. Change the first '-' to '.' in the snapshot version string, e.g., 6.9-377-08144 -> 6.9.377-08144 Remove first parameter. Don't declare a version "-dirty" merely because a time stamp has changed.
Jim Meyering 673dc837 2007-09-02T22:42:45 * build-aux/git-version-gen: New file, from coreutils. For details, see http://git.sv.gnu.org/gitweb/?p=coreutils.git;a=commitdiff;h=bfe49f506