8 Oct 04:08
[PATCH] guilt: add git commit level versioning
From: Paul Gortmaker <paul.gortmaker <at> windriver.com>
Subject: [PATCH] guilt: add git commit level versioning
Newsgroups: gmane.comp.version-control.git
Date: 2008-10-08 02:08:42 GMT
Subject: [PATCH] guilt: add git commit level versioning
Newsgroups: gmane.comp.version-control.git
Date: 2008-10-08 02:08:42 GMT
Shamelessly steal the dynamic versioning goodies from git itself. Now when you do "guilt --version" you can expect to see things like: Guilt version 0.31.2.14.gece1.dirty assuming you've 14 commits since 0.31.2 and also some changes that you've not committed yet. Signed-off-by: Paul Gortmaker <paul.gortmaker <at> windriver.com> --- .gitignore | 2 ++ Documentation/Makefile | 4 ++-- GUILT-VERSION-GEN | 42 ++++++++++++++++++++++++++++++++++++++++++ Makefile | 21 ++++++++++++++++----- guilt | 4 +++- 5 files changed, 65 insertions(+), 8 deletions(-) create mode 100755 GUILT-VERSION-GEN diff --git a/.gitignore b/.gitignore index c81112b..61161ef 100644 --- a/.gitignore +++ b/.gitignore @@ -7,3 +7,5 @@ # *~ *.swp +guilt.bin +GUILT-VERSION-FILE diff --git a/Documentation/Makefile b/Documentation/Makefile(Continue reading)
RSS Feed