]> git.ipfire.org Git - thirdparty/git.git/commit
create_autostash(): remove unneeded parameter
authorPhillip Wood <phillip.wood@dunelm.org.uk>
Wed, 26 Jan 2022 13:05:44 +0000 (13:05 +0000)
committerJunio C Hamano <gitster@pobox.com>
Wed, 26 Jan 2022 20:08:53 +0000 (12:08 -0800)
commitb7de153bd9332a992baa6f937372f0b1833f61e5
tree6e240d23a6a0d2a85262d9588f52994276f3c241
parent1526d0fcfd20efca24bc96a4bc14c8d5459ec470
create_autostash(): remove unneeded parameter

The default_reflog parameter of create_autostash() is passed to
reset_head(). However as creating a stash does not involve updating
any refs the parameter is not used by reset_head(). Removing the
parameter from create_autostash() simplifies the callers.

Signed-off-by: Phillip Wood <phillip.wood@dunelm.org.uk>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/merge.c
builtin/rebase.c
sequencer.c
sequencer.h