bin/git-amend: Smarter 'git stash' handling
authorTony Duckles <tony@nynim.org>
Sun, 31 Dec 2017 16:32:27 +0000
committerTony Duckles <tony@nynim.org>
Sun, 31 Dec 2017 19:18:40 +0000
commit4155e551d3086224820400bebdcc6e9c5577c856
treebe2c01cf66e9b1f8a00d04d97e05dd557cc2eaec
parentcefe08df4ba667c36d0de97e33566e725aae200e
bin/git-amend: Smarter 'git stash' handling

- Fix 'stash pop' handling to always restore back to the stashed
  changes afterwards.
- Only stash if there are local modifications.
bin/git-amend