From 915e7699243726d001f9ab4e8fa2380a5e57de56 Mon Sep 17 00:00:00 2001 From: Shoaib Meenai Date: Fri, 21 Feb 2020 11:59:53 -0800 Subject: [PATCH] [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 --- .arcconfig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.arcconfig b/.arcconfig index 5d3ebce..9cb8880 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^" } -- 2.7.4