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
[PATCH] guilt-fork: Rename patches sequentially (ala quilt)
[guilt.git]
/
guilt-refresh
blob
957f23dfa229ead3cd6dc650be4e01585f15752c
1
#!/bin/bash
2
#
3
# Copyright (c) Josef "Jeff" Sipek, 2006, 2007
4
#
5
6
USAGE
=
""
7
. guilt
8
9
if
[
$#
-ne
0
];
then
10
usage
11
fi
12
13
TOP
=
`get_top`
14
15
if
[
-z
"
$TOP
"
];
then
16
die
"No patches applied; try guilt-push first"
17
fi
18
19
refresh_patch
"
$TOP
"
20