]> git.ipfire.org Git - thirdparty/git.git/commit - builtin/stash.c
stash: convert apply to builtin
authorJoel Teichroeb <joel@teichroeb.net>
Mon, 25 Feb 2019 23:16:15 +0000 (23:16 +0000)
committerJunio C Hamano <gitster@pobox.com>
Thu, 7 Mar 2019 00:41:40 +0000 (09:41 +0900)
commit8a0fc8d19dff0c0ed09ce6656e353daf06c21892
treee8d0cd0c13ba5ba2726b34dffd3e30f9bc06ca48
parentbef55dcf27060e57512ad99318a0d7de5b4ed6bb
stash: convert apply to builtin

Add a builtin helper for performing stash commands. Converting
all at once proved hard to review, so starting with just apply
lets conversion get started without the other commands being
finished.

The helper is being implemented as a drop in replacement for
stash so that when it is complete it can simply be renamed and
the shell script deleted.

Delete the contents of the apply_stash shell function and replace
it with a call to stash--helper apply until pop is also
converted.

Signed-off-by: Joel Teichroeb <joel@teichroeb.net>
Signed-off-by: Paul-Sebastian Ungureanu <ungureanupaulsebastian@gmail.com>
Signed-off-by: Thomas Gummerer <t.gummerer@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
.gitignore
Makefile
builtin.h
builtin/stash--helper.c [new file with mode: 0644]
git-stash.sh
git.c