repo.or.cz
/
lcapit-junk-code.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
http: tiny-http: Minor note
[lcapit-junk-code.git]
/
git-kill-number
blob
c0d21b67140e07d2b8ec11bfe5d3267a0f2e63f2
1
#!/bin/sh
2
#
3
# Kill the number part of a patch exported by git-format-patch
4
5
for
file
in
$
*;
do
6
mv
-v
$file
$
(
echo
$file
|
sed
's/[0-9]\{4\}-//'
)
7
done