From: Philip Oakley <philipoakley@iee.email>
To: Denton Liu <liu.denton@gmail.com>, rottis@fea.st
Cc: git@vger.kernel.org
Subject: Re: git checkout --autostash and git branch --autopop
Date: Thu, 12 Dec 2019 22:02:14 +0000 [thread overview]
Message-ID: <e7850a51-4396-4698-ed98-62f991e33992@iee.email> (raw)
In-Reply-To: <20191212180901.GA35927@generichostname>
On 12/12/2019 18:09, Denton Liu wrote:
> Hi rottis,
>
> On Thu, Dec 12, 2019 at 02:19:50PM +0200, rottis@fea.st wrote:
>> Similar to the 'git rebase --autostash', running 'git checkout --autostash' would automatically stash uncommitted changes for the
>> current branch. then running 'git branch --autopop' would automatically apply an automatic stash when switching to a branch that had one.
> I currently have a WIP version of this feature but I haven't had enough
> time to polish it off (tests and docs). The last RFC round can be seen
> here[1] if you want to test it out. It seems to work well enough for
> personal use.
>
> [1]: https://lore.kernel.org/git/cover.1571246693.git.liu.denton@gmail.com/
Isn't this meant to be something similar to the --no-merge option for
checkout. That is: I am where I am, but really I want this to be on
branch X. Or is the --no-merge option meant to be something else?
--
Philip
next prev parent reply other threads:[~2019-12-12 22:02 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-12-12 12:19 git checkout --autostash and git branch --autopop rottis
2019-12-12 18:09 ` Denton Liu
2019-12-12 18:12 ` Denton Liu
2019-12-12 22:02 ` Philip Oakley [this message]
2019-12-13 17:16 ` Junio C Hamano
2019-12-14 11:12 ` Philip Oakley
[not found] ` <DA212C7D-D8D4-4E68-8C29-AF68364653E9@ssl-mail.com>
2019-12-14 12:58 ` Philip Oakley
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: http://vger.kernel.org/majordomo-info.html
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=e7850a51-4396-4698-ed98-62f991e33992@iee.email \
--to=philipoakley@iee.email \
--cc=git@vger.kernel.org \
--cc=liu.denton@gmail.com \
--cc=rottis@fea.st \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://80x24.org/mirrors/git.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).