~mdw
/
stgit
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix up help string for "stg clone"
[stgit]
/
stgit
/
git.py
diff --git
a/stgit/git.py
b/stgit/git.py
index
a615ccf
..
0cdc125
100644
(file)
--- a/
stgit/git.py
+++ b/
stgit/git.py
@@
-638,11
+638,11
@@
def apply_patch(filename = None, base = None):
return False
return True
- refresh_index()
-
if base:
orig_head = get_head()
switch(base)
+ else:
+ refresh_index() # needed since __apply_patch() doesn't do it
if not __apply_patch():
if base: