diff options
author | Denton Liu <liu.denton@gmail.com> | 2020-04-07 10:28:02 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-04-10 09:28:02 -0700 |
commit | 9bb3dea45d69921578b1729c7dc7b12bfbe6f69e (patch) | |
tree | 5ce64d940420de1133b168adf2f62ae4b0956552 /t/t7413-submodule-is-active.sh | |
parent | rebase: extract create_autostash() (diff) | |
download | tgif-9bb3dea45d69921578b1729c7dc7b12bfbe6f69e.tar.xz |
rebase: generify create_autostash()
In the future, we plan on lib-ifying create_autostash() so we need it to
be more generic. Make it more generic by making it accept a
`struct repository` argument instead of implicitly using the non-repo
functions and `the_repository`. Also, make it accept a `path` argument
so that we no longer rely have to rely on `struct rebase_options`.
Finally, make it accept a `default_reflog_action` argument so we no
longer have to rely on `DEFAULT_REFLOG_ACTION`.
Signed-off-by: Denton Liu <liu.denton@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t7413-submodule-is-active.sh')
0 files changed, 0 insertions, 0 deletions