Permalink
Browse files

Fix issue where 'braid push' didn't seem to properly handle branches

  • Loading branch information...
1 parent d531a2d commit 0dbaa93735f2ebef19a5f8ef0a6cbbfcbfa4ab9a @jdicioccio jdicioccio committed Jul 8, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/braid/commands/push.rb
@@ -34,7 +34,7 @@ def run(path, options = {})
msg "Cloning mirror with local changes."
git.init
git.fetch(source_dir)
- git.fetch(remote_url)
+ git.fetch(remote_url, "+refs/heads/#{mirror.branch}")
git.checkout(base_revision)
git.apply(diff)
system("git commit -v")

0 comments on commit 0dbaa93

Please sign in to comment.