Re: [PATCH 2/4] stash: convert branch to builtin
- From
Christian Couder <christian.couder@gmail.com>
- Date
- Mar 25, 2018, 08:22 UTC
- Message-ID
- <CAP8UFD0Rmyiom0pEY6u7OVzCZbs9rg3VjEsW6Rs8S6m40uKrPw@mail.gmail.com>
- In-Reply-To
- <20180324173707.17699-3-joel@teichroeb.net>
On Sat, Mar 24, 2018 at 6:37 PM, Joel Teichroeb <joel@teichroeb.net> wrote:
Show 14 quoted lines
> diff --git a/git-stash.sh b/git-stash.sh > index 92c084eb17..360643ad4e 100755 > --- a/git-stash.sh > +++ b/git-stash.sh > @@ -736,7 +736,8 @@ pop) > ;; > branch) > shift > - apply_to_branch "$@" > + cd "$START_DIR" > + git stash--helper branch "$@" > ;; > *) > case $# in
Can the apply_to_branch() shell function be removed from git-stash.sh?