summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorLibravatar Denton Liu <liu.denton@gmail.com>2020-04-07 10:27:59 -0400
committerLibravatar Junio C Hamano <gitster@pobox.com>2020-04-10 09:28:02 -0700
commitf213f069fb57996505f9d6c9dd0f4a3ef53e87e4 (patch)
tree7ac9213f662bbcbdace68fbf4810bd328e68557b /Makefile
parentrebase: use apply_autostash() from sequencer.c (diff)
downloadtgif-f213f069fb57996505f9d6c9dd0f4a3ef53e87e4.tar.xz
rebase: generify reset_head()
In the future, we plan on lib-ifying reset_head() 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. Also, make it accept a `const char *default_reflog_action` argument so that the default action of "rebase" isn't hardcoded in. Signed-off-by: Denton Liu <liu.denton@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions