Jonathon Mah <me@xxxxxxxxxxxxxxx> writes: > When performing a plain "git stash" (without --patch), git-diff would fail > with "fatal: ambiguous argument 'HEAD': both revision and filename". The > output was piped into git-update-index, masking the failed exit status. > The output is now sent to a temporary file (which is cleaned up by > existing code), and the exit status is checked. The "HEAD" arg to the > git-diff invocation has been disambiguated too, of course. > > In patch mode, "git stash -p" would fail harmlessly, leaving the working > dir untouched. > > Signed-off-by: Jonathon Mah <me@xxxxxxxxxxxxxxx> > --- Thanks. -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html