This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch trunk
in repository jhalfs.

The following commit(s) were added to refs/heads/trunk by this push:
     new e5518fd  jhalfs: update copyright years and adapt to git
e5518fd is described below

commit e5518fd03e10d0ffebe5ee72da70058295a56a29
Author: Pierre Labastie <pierre.labas...@neuf.fr>
AuthorDate: Sun Jan 17 11:10:59 2021 +0100

    jhalfs: update copyright years and adapt to git
    
    - use git log to retrieve the most recent version to display with
      -v
---
 jhalfs | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/jhalfs b/jhalfs
index 4887b3a..f642c16 100755
--- a/jhalfs
+++ b/jhalfs
@@ -1,5 +1,4 @@
 #!/bin/bash
-# $Id$
 set -e
 # Pass trap handlers to functions
 set -E
@@ -99,11 +98,11 @@ load_file() {
   simple_message "OK\\n"
 }
 
+git_commit=$(git log -1 --format=format:"%h %ad")
 version="
-${BOLD}  \"jhalfs\"${OFF} builder tool (development) \$Rev$
- \$Date$
+${BOLD}  \"jhalfs\"${OFF} builder tool (development) $git_commit
 
-  Copyright (C) 2005-2019, the jhalfs team:
+  Copyright (C) 2005-2021, the jhalfs team:
     Jeremy Huntwork
     George Boudreau
     Manuel Canales Esparcia

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.
-- 
http://lists.linuxfromscratch.org/listinfo/alfs-log
Unsubscribe: See the above information page

Reply via email to