From: Lawrence S. <ljs...@us...> - 2013-04-02 14:57:24
|
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "A pseudo Operating System for the Dreamcast.". The branch, master has been updated via e29e15ea9864b2a6fff2df5d8f75d4ac6c590468 (commit) from aab9c278b89b0500d29644ab45a9c530cb0ee698 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit e29e15ea9864b2a6fff2df5d8f75d4ac6c590468 Author: Lawrence Sebald <ljs...@us...> Date: Tue Apr 2 10:56:44 2013 -0400 Use the git commit hash in the make_banner.sh script. ----------------------------------------------------------------------- Summary of changes: kernel/arch/dreamcast/kernel/make_banner.sh | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/kernel/arch/dreamcast/kernel/make_banner.sh b/kernel/arch/dreamcast/kernel/make_banner.sh index 5cdedbf..0098d90 100755 --- a/kernel/arch/dreamcast/kernel/make_banner.sh +++ b/kernel/arch/dreamcast/kernel/make_banner.sh @@ -5,9 +5,9 @@ echo 'char banner[] = ' > banner.c echo -n '"KallistiOS ' >> banner.c -if [ -d ".svn" ]; then - echo -n 'SVN r' >> banner.c - echo -n `svnversion` >> banner.c +if [ -d "$KOS_BASE/.git" ]; then + echo -n 'Git revision ' >> banner.c + echo -n `git rev-list --full-history --all --abbrev-commit | head -1` >> banner.c echo -n ': ' >> banner.c else echo -n '##version##: ' >> banner.c hooks/post-receive -- A pseudo Operating System for the Dreamcast. |