Index: git_new_branch.py |
diff --git a/git_new_branch.py b/git_new_branch.py |
index b021d4c1f4a2c25118265c3bee67b0f4b8e19db8..810aa02e1b6a167c1a5e5af5a60bb6acfaa2d056 100755 |
--- a/git_new_branch.py |
+++ b/git_new_branch.py |
@@ -41,12 +41,12 @@ def main(args): |
# TODO(iannucci): Detect unclean workdir then stash+pop if we need to |
# teleport to a conflicting portion of history? |
run('checkout', '--track', opts.upstream, '-b', opts.branch_name) |
- |
get_or_create_merge_base(opts.branch_name) |
except subprocess2.CalledProcessError as cpe: |
sys.stdout.write(cpe.stdout) |
sys.stderr.write(cpe.stderr) |
return 1 |
+ sys.stderr.write('Switched to branch %s.' % opts.branch_name) |
if __name__ == '__main__': # pragma: no cover |