repo.or.cz
/
sunny256-utils.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Replace three `git sht` with the proper `git log --format=%h`
[sunny256-utils.git]
/
u
blob
34550de269c46bf7cbc51edee078b9791e221d03
1
#!/bin/sh
2
3
# u
4
# File ID: c17003b4-5d46-11df-a067-90e6ba3022ac
5
6
if
[
"
$1
"
=
"-L"
];
then
7
date
-u
+
"%Y-%m-%dT%H:%M:%SZ"
|
tr
-d
'
\n
'
8
else
9
date
-u
+
"%Y%m%dT%H%M%SZ"
|
tr
-d
'
\n
'
10
fi