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
Fixed refresh discarding the From line out of the patch header
[guilt.git]
/
guilt-unapplied
blob
e0f6cb5ed3fdf61e3e89b4b15d9f29c35d1321ca
1
#!/bin/bash
2
#
3
# Copyright (c) Josef "Jeff" Sipek, 2006, 2007
4
#
5
6
source
"`dirname
$0
`/guilt"
7
8
n
=
`wc -l <
$applied
`
9
n
=
`expr
$n
+ 1`
10
11
idx
=
0
12
for
p
in
`get_series`
;
do
13
idx
=
`expr
$idx
+ 1`
14
[
$idx
-lt
$n
] &&
continue
15
16
echo
$p
17
done