<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Thu, Mar 9, 2017 at 5:39 PM, Ryan Schmidt <span dir="ltr"><<a href="mailto:ryandesign@macports.org" target="_blank">ryandesign@macports.org</a>></span> wrote:<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">
> On Mar 9, 2017, at 14:18, Brandon Allbery <<a href="mailto:allbery.b@gmail.com">allbery.b@gmail.com</a>> wrote:<br>
> On Thu, Mar 9, 2017 at 2:51 PM, Ryan Schmidt <<a href="mailto:ryandesign@macports.org">ryandesign@macports.org</a>> wrote:<br>
> Why won't it automatically stash? Usually it does, but apparently not when there are conflicts.<br>
><br>
> The manpage for git pull warns that --autostash has edge cases/restrictions.<br>
<br>
</span>I only see:<br></blockquote><div><br></div><div>Gleh. I thought there was a full discussion in there somewhere, but I just tried to chase it through git-rebase and git-config and neither had more than the minimal warning. But I thought one of the issues people raised against making autostash the default was specifically that there are nasty edge cases other than the mentioned one of possibly leading to significant conflicts when the stashed changes are applied.</div><div><br></div><div>That said, there is also the implicit one: it's only applicable if rebasing. Merges will merge with your changes, not stash them; rebases need to work from a tree that matches a series of upstream commits (possibly with additional local commits, but no uncommitted changes) and force stashing.</div><div><br></div></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>brandon s allbery kf8nh                               sine nomine associates</div><div><a href="mailto:allbery.b@gmail.com" target="_blank">allbery.b@gmail.com</a>                                  <a href="mailto:ballbery@sinenomine.net" target="_blank">ballbery@sinenomine.net</a></div><div>unix, openafs, kerberos, infrastructure, xmonad        <a href="http://sinenomine.net" target="_blank">http://sinenomine.net</a></div></div></div>
</div></div>