repo.or.cz
/
laditools.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Add missing blank space.
[laditools.git]
/
gitcommit.sh
blob
3b9080246e64f50db71dc42aec69bbf0786249b0
1
#!/bin/sh
2
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 "-"`
5
6
echo
"
$DATE
"
.git
"
$COMMIT
"