Re: [PATCH v8 4/6] stash: teach 'push' (and 'create_stash') to honor pathspec
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Feb 28, 2017, 22:15 UTC
- Message-ID
- <xmqqo9xmhshd.fsf@gitster.mtv.corp.google.com>
- In-Reply-To
- <20170228203340.18723-5-t.gummerer@gmail.com>
Thomas Gummerer <t.gummerer@gmail.com> writes:
> + git reset ${GIT_QUIET:+-q} -- "$@"
> + git ls-files -z --modified -- "$@" |
> + git checkout-index -z --force --stdin
> + git checkout ${GIT_QUIET:+-q} HEAD -- $(git ls-files -z --modified "$@")I think you forgot to remove this line, whose correction was added as two lines immediately before it. I'll remove it while queuing.
> + git clean --force ${GIT_QUIET:+-q} -d -- "$@"Thanks.