Skip to content

Commit

Permalink
avoid collision with master branch in check format
Browse files Browse the repository at this point in the history
Summary:
The new local branch specified with -b cannot be called master. Use tmp prefix to avoid name collision.
Closes facebook#2600

Differential Revision: D5442944

Pulled By: maysamyabandeh

fbshipit-source-id: 4a623d9b21d6cc01bee812b2799790315bdf5f6e
  • Loading branch information
Maysam Yabandeh authored and facebook-github-bot committed Jul 18, 2017
1 parent 0c03a7f commit ddb22ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/check_format_compatible.sh
Original file line number Diff line number Diff line change
@@ -85,7 +85,7 @@ done
checkout_flag=${1:-"master"}

echo == Building $checkout_flag debug
https_proxy="fwdproxy:8080" git checkout github_origin/$checkout_flag -b $checkout_flag
https_proxy="fwdproxy:8080" git checkout github_origin/$checkout_flag -b tmp-$checkout_flag
make clean
make ldb -j32
compare_base_db_dir=$test_dir"/base_db_dir"

0 comments on commit ddb22ac

Please sign in to comment.