Skip to content

Commit 4f2ef55

Browse files
committed
Make Yes the default for git-mrb, fits regular workflow much better.
1 parent 3472072 commit 4f2ef55

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tools/git-mrb

+2-2
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ git push {upstream} {onto}
7474
*************************************************************
7575
""".format(**shvars)
7676

77-
ans = raw_input("Revert to master and delete temporary branch? [y/N]: ")
78-
if ans.lower() in ('y', 'yes'):
77+
ans = raw_input("Revert to master and delete temporary branch? [Y/n]: ")
78+
if ans.strip().lower() in ('', 'y', 'yes'):
7979
sh('git checkout {onto}')
8080
sh('git branch -D {branch_spec}')

0 commit comments

Comments
 (0)