summaryrefslogtreecommitdiff
path: root/.arcconfig
diff options
context:
space:
mode:
authorShoaib Meenai <smeenai@fb.com>2020-02-21 11:59:53 -0800
committerShoaib Meenai <smeenai@fb.com>2020-02-24 16:20:25 -0800
commit915e7699243726d001f9ab4e8fa2380a5e57de56 (patch)
tree6b7429750f0bbaccb2dbf1979c74085efdf233e9 /.arcconfig
parentedc4f4c9c9d90b2a4f8831ba4c873f08eaa5395a (diff)
downloadllvm-915e7699243726d001f9ab4e8fa2380a5e57de56.tar.gz
[arcconfig] Default base to previous revision
When you run `arc diff`, arc defaults to uploading all the changes you have against the upstream branch into a single patch. This is almost never what you want for stacked commits (patch series); you only want to submit the changes done by the current patch. It's also come up as a point of confusion in the Phabricator vs. GitHub PRs discussion, for example. Configure arc to only upload your current patch by default, which I think is a much more suitable default for LLVM developers. Differential Revision: https://reviews.llvm.org/D74990
Diffstat (limited to '.arcconfig')
-rw-r--r--.arcconfig3
1 files changed, 2 insertions, 1 deletions
diff --git a/.arcconfig b/.arcconfig
index 5d3ebce01d84..9cb88800d30d 100644
--- a/.arcconfig
+++ b/.arcconfig
@@ -1,5 +1,6 @@
{
"phabricator.uri" : "https://reviews.llvm.org/",
"repository.callsign" : "G",
- "conduit_uri" : "https://reviews.llvm.org/"
+ "conduit_uri" : "https://reviews.llvm.org/",
+ "base": "git:HEAD^"
}