repo.or.cz
/
guilt.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
header: fix patch name existence in the series
[guilt.git]
/
guilt-applied
blob
52f8470aee82a174f1030b3c3e9f5072f11f01f7
1
#!/bin/sh
2
#
3
# Copyright (c) Josef "Jeff" Sipek, 2006, 2007
4
#
5
6
USAGE
=
"[-c]"
7
.
`dirname
$0
`
/
guilt
8
9
case
$#
in
10
0
)
11
# just output the regular series-style applied list
12
cat
$applied
| cut
-d
:
-f
2
-
13
;;
14
15
1
)
16
if
[
"
$1
"
!=
"-c"
];
then
17
usage
18
fi
19
20
cat
$applied
|
sed
-e
's/:/ /'
21
;;
22
23
*)
24
usage
25
;;
26
esac