Re: [PATCH v6 0/4] Add --base option to git-format-patch to record base tree info
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Apr 26, 2016, 18:05 UTC
- Message-ID
- <xmqqlh40gs9o.fsf@gitster.mtv.corp.google.com>
- In-Reply-To
- <CAGZ79kajpAtbHaKLaLHN5+qUOvBofFs-q-vUYWua49GWK7FO9Q@mail.gmail.com>
Stefan Beller <sbeller@google.com> writes:
Show 15 quoted lines
> 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=<base-commit-id> 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?