summaryrefslogtreecommitdiff
path: root/builtin/commit.c
diff options
context:
space:
mode:
authorDenton Liu <liu.denton@gmail.com>2020-04-07 10:28:02 -0400
committerJunio C Hamano <gitster@pobox.com>2020-04-10 09:28:02 -0700
commit9bb3dea45d69921578b1729c7dc7b12bfbe6f69e (patch)
tree5ce64d940420de1133b168adf2f62ae4b0956552 /builtin/commit.c
parent4d4bc157f85316576d9f9bb90657d455fe76e281 (diff)
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 'builtin/commit.c')
0 files changed, 0 insertions, 0 deletions