Skip to content

Commit 915e769

Browse files
committed
[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
1 parent edc4f4c commit 915e769

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.arcconfig

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"phabricator.uri" : "https://reviews.llvm.org/",
33
"repository.callsign" : "G",
4-
"conduit_uri" : "https://reviews.llvm.org/"
4+
"conduit_uri" : "https://reviews.llvm.org/",
5+
"base": "git:HEAD^"
56
}

0 commit comments

Comments
 (0)