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:30 UTC
- Message-ID
- <xmqqd1pcgr3s.fsf@gitster.mtv.corp.google.com>
- In-Reply-To
- <CAGZ79kZg3OpR8k45=q1m-g=t+aGGs8VDYBrBYaBU_DbfuuoBig@mail.gmail.com>
Stefan Beller <sbeller@google.com> writes:
Show 5 quoted lines
> I can totally do that for longer series which require some back and forth. > > But one-offs, such as typo fixes or other small things[1], for which I do > even have a local branch (i.e. checkout origin/master && fix && > commit && send-email) this is another step that potentially bothers me.
So from where are you proposing Git to grab that information if you do not tell it? "If the HEAD is detached, assume that the base is where it was detached from" or something?
> From a UI perspective it seems logical to also check if the base > can be obtained from the patch range specifier.
If you are doing "format-patch master..my-branch", what do you propose to set your base to? master@{u}, perhaps?