Matthieu Moy wrote:
> No, they don't.  Git forbids redefining commands with aliases. They may
> have an alias like "git pullauto" or so, but not "git pull".

Ofcourse, but you get the point.  I use p for push, and pu for pull myself.

> There's not much we can do about it now, as Git cannot guess whether a
> stash is to be re-applied later or just kept "in case". My main use of
> "git stash" is "I want a reset --hard, but stash is safer", I wouldn't
> want "status" to remind me when I have a stash because it is almost
> always the case.
>
> Showing the "autostash" status in "git status" would make sense OTOH,
> but I agree that it's another topic.

If the HEAD of the stash contains a stash beginning with the message
"pull.autostash: ", show it in the status.  End of story.

Anyway, no point arguing about this since we've decided not to pursue
pull.autostash anyway.
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to