Back to home page

EIC code displayed by LXR

 
 

    


Warning, /harvester/git_hooks/pre-commit.d/a99-commit_timestamp is written in an unsupported language. File is not indexed.

0001 #!/usr/bin/env bash
0002 
0003 DATE=`date -u '+%d-%m-%Y %H:%M:%S'`
0004 NAME=`git config --global user.name`
0005 BRANCH=`git rev-parse --abbrev-ref HEAD`
0006 FILE=pandaharvester/commit_timestamp.py
0007 echo timestamp = \"$DATE on $BRANCH \(by $NAME\)\" > $FILE
0008 git add $FILE
0009 
0010 exit 0