~mdw
/
stgit
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[PATCH] Fix a couple of bugs in "stg branch --create"
[stgit]
/
stgit
/
git.py
diff --git
a/stgit/git.py
b/stgit/git.py
index
55f06c1
..
241f375
100644
(file)
--- a/
stgit/git.py
+++ b/
stgit/git.py
@@
-285,7
+285,7
@@
def create_branch(new_branch, tree_id = None):
# a checkout isn't needed if new branch points to the current head
if tree_id:
-
git.
switch(tree_id)
+ switch(tree_id)
if os.path.isfile(os.path.join(base_dir, 'MERGE_HEAD')):
os.remove(os.path.join(base_dir, 'MERGE_HEAD'))