rocksdb/build_tools
Peter Dillinger 42f898bf83 Fix format-diff.sh detecting changes vs. upstream (#5831)
Summary:
format-diff.sh, a.k.a. 'make format', would use 'master'
to decide which commits are probably unpublished. Much better to use
facebook remote master since local master may not be caught up and may
have its own unpublished commits. Script now tries to compare against
facebook remote master branch (branch pointer is updated with any fetch
or pull), because those differences are what would be considered the
differences for a pull request.

Also, script would compare against *parent* of merge-base with that
reference point, which is just wrong since that includes the last
published commit.

In case of problems, you can now customize the reference point, by
setting the FORMAT_UPSTREAM variable.
Pull Request resolved: https://github.com/facebook/rocksdb/pull/5831

Test Plan: manual

Differential Revision: D17528462

Pulled By: pdillinger

fbshipit-source-id: 50fdb8795d683bf3c14d449669c1a5299e0dfa8b
2019-09-23 09:07:00 -07:00
..
amalgamate.py Add copyright headers per FB open-source checkup tool. (#5199) 2019-04-18 10:55:01 -07:00
build_detect_platform Clean up + fix build scripts re: USE_SSE= and PORTABLE= (#5800) 2019-09-13 11:07:13 -07:00
cont_integration.sh
dependencies.sh Update dependencies (#5777) 2019-09-16 20:44:47 -07:00
dependencies_4.8.1.sh Add copyright headers per FB open-source checkup tool. (#5199) 2019-04-18 10:55:01 -07:00
dependencies_platform007.sh Update dependencies (#5777) 2019-09-16 20:44:47 -07:00
dockerbuild.sh Add copyright headers per FB open-source checkup tool. (#5199) 2019-04-18 10:55:01 -07:00
error_filter.py Separate crash test with atomic flush (#4945) 2019-02-19 14:08:39 -08:00
fb_compile_mongo.sh Add copyright headers per FB open-source checkup tool. (#5199) 2019-04-18 10:55:01 -07:00
fbcode_config.sh Clean up + fix build scripts re: USE_SSE= and PORTABLE= (#5800) 2019-09-13 11:07:13 -07:00
fbcode_config4.8.1.sh Clean up + fix build scripts re: USE_SSE= and PORTABLE= (#5800) 2019-09-13 11:07:13 -07:00
fbcode_config_platform007.sh Clean up + fix build scripts re: USE_SSE= and PORTABLE= (#5800) 2019-09-13 11:07:13 -07:00
format-diff.sh Fix format-diff.sh detecting changes vs. upstream (#5831) 2019-09-23 09:07:00 -07:00
gnu_parallel
make_package.sh Add copyright headers per FB open-source checkup tool. (#5199) 2019-04-18 10:55:01 -07:00
precommit_checker.py Add copyright headers per FB open-source checkup tool. (#5199) 2019-04-18 10:55:01 -07:00
regression_build_test.sh Add copyright headers per FB open-source checkup tool. (#5199) 2019-04-18 10:55:01 -07:00
rocksdb-lego-determinator Upload db directory during cleanup for certain tests (#5554) 2019-07-10 11:29:55 -07:00
RocksDBCommonHelper.php Fix spelling errors (#4827) 2019-01-02 11:17:57 -08:00
run_ci_db_test.ps1 Add copyright headers per FB open-source checkup tool. (#5199) 2019-04-18 10:55:01 -07:00
setup_centos7.sh Add copyright headers per FB open-source checkup tool. (#5199) 2019-04-18 10:55:01 -07:00
update_dependencies.sh Update dependencies (#5777) 2019-09-16 20:44:47 -07:00
version.sh Add copyright headers per FB open-source checkup tool. (#5199) 2019-04-18 10:55:01 -07:00