summaryrefslogtreecommitdiffstats
path: root/reset.h
diff options
context:
space:
mode:
authorDenton Liu <liu.denton@gmail.com>2020-04-07 16:27:59 +0200
committerJunio C Hamano <gitster@pobox.com>2020-04-10 18:28:02 +0200
commitf213f069fb57996505f9d6c9dd0f4a3ef53e87e4 (patch)
tree7ac9213f662bbcbdace68fbf4810bd328e68557b /reset.h
parentrebase: use apply_autostash() from sequencer.c (diff)
downloadgit-f213f069fb57996505f9d6c9dd0f4a3ef53e87e4.tar.xz
git-f213f069fb57996505f9d6c9dd0f4a3ef53e87e4.zip
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 'reset.h')
0 files changed, 0 insertions, 0 deletions