On 03/15, Junio C Hamano wrote:
> Thomas Gummerer writes:
>
> > no_changes () {
> > git diff-index --quiet --cached HEAD --ignore-submodules -- "$@" &&
> > git diff-files --quiet --ignore-submodules -- "$@" &&
> > - (test -z "$untracked" || test -z
Thomas Gummerer writes:
> no_changes () {
> git diff-index --quiet --cached HEAD --ignore-submodules -- "$@" &&
> git diff-files --quiet --ignore-submodules -- "$@" &&
> - (test -z "$untracked" || test -z "$(untracked_files)")
> + (test -z "$untracked"
When introducing the stash push feature, and thus allowing users to pass
in a pathspec to limit the files that would get stashed in
df6bba0937 ("stash: teach 'push' (and 'create_stash') to honor
pathspec", 2017-02-28), this developer missed one place where the
pathspec should be passed in.
Namely
3 matches
Mail list logo