From: Junio C Hamano Date: Tue, 26 Apr 2016 18:05:23 GMT Subject: Re: [PATCH v6 0/4] Add --base option to git-format-patch to record base tree info Message-ID: In-Reply-To: Stefan Beller writes: > git checkout origin/master > # toy around, do stuff > git checkout -b new-shiny-feature > git format-patch origin-master.. > > Now I have set the format.useautobase option and then the `git format-patch` > fails with > > fatal: Failed to get upstream, if you want to record base commit > automatically, > please use git branch --set-upstream-to to track a remote branch. > Or you could specify base commit by --base= manually. > > but as I indicated I want patches from origin/master onwards, > Could we make use of that information? As you indicated where other than in this e-mail? I think the way for you to indicate that desire expected by this series is to use "git branch" to set upstream of new-shiny-feature branch to origin/master. Shouldn't that work, or is that too much work?