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
[GUILT] handle branches with slashes in guilt-graph
[guilt.git]
/
guilt-unapplied
blob
67ee1aacd769b88e65f2c948796d96315618d02b
1
#!/bin/sh
2
#
3
# Copyright (c) Josef "Jeff" Sipek, 2006-2011
4
#
5
6
USAGE
=
""
7
if
[
-z
"
$GUILT_VERSION
"
];
then
8
echo
"Invoking `basename
$0
` directly is no longer supported."
>&
2
9
exit
1
10
fi
11
12
_main
() {
13
14
if
[
$#
-ne
0
];
then
15
usage
16
fi
17
18
n
=
`wc -l <
$applied
`
19
n
=
`expr
$n
+ 1`
20
21
get_series |
sed
-n -e
"
$n
,\
$p
"
22
23
}