Re: [PATCH] git-stash: add flag to skip "git reset --hard"

2016-05-02 Thread Tom Anderson
What I want can be achieved using "git stash store `git stash create`" On 05/02/2016 12:58 PM, Junio C Hamano wrote: Tom Anderson writes: Yes, but I like my stashes to be saved in the ref namespace. Isn't that something you can do so yourself with store_stash? -- To unsubs

Re: [PATCH] git-stash: add flag to skip "git reset --hard"

2016-05-02 Thread Tom Anderson
On 05/02/2016 11:42 AM, Junio C Hamano wrote: Tom Anderson writes: @@ -61,6 +61,9 @@ stashed and then cleaned up with `git clean`, leaving the working directory in a very clean state. If the `--all` option is used instead then the ignored files are stashed and cleaned in addition to the

[PATCH] git-stash: add flag to skip "git reset --hard"

2016-05-01 Thread Tom Anderson
Add the "--no-reset" (same as "-r") flag to git-stash.sh. A common workflow is to use "git-stash save" and "git-stash apply" to save your work without modifying your changed files. This forces users to reload their changed files in text editors like emacs, and touches the modify time on all chan