Re: [PATCH] git-stash: fix pushing stash with pathspec from subdir

2017-06-13 Thread Junio C Hamano
Patrick Steinhardt writes: > The `git stash push` command recently gained the ability to get a > pathspec as its argument to only stash matching files. Calling this > command from a subdirectory does not work, though, as one of the first > things we do is changing to the top level directory witho

[PATCH] git-stash: fix pushing stash with pathspec from subdir

2017-06-13 Thread Patrick Steinhardt
The `git stash push` command recently gained the ability to get a pathspec as its argument to only stash matching files. Calling this command from a subdirectory does not work, though, as one of the first things we do is changing to the top level directory without keeping track of the prefix from w