Add missing blank space.
[laditools.git] / gitcommit.sh
blob3b9080246e64f50db71dc42aec69bbf0786249b0
1 #!/bin/sh
3 COMMIT=`git log --color=never -1 --oneline | cut -d" " -f1`
4 DATE=`git log --color=never -1 --date=iso | sed -ne "s/Date:\s\+\(.*\).*/\1/p" | cut -d" " -f1 | tr -d "-"`
6 echo "$DATE".git"$COMMIT"