Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenton Liu <liu.denton@gmail.com>2020-04-07 17:27:59 +0300
committerJunio C Hamano <gitster@pobox.com>2020-04-10 19:28:02 +0300
commitf213f069fb57996505f9d6c9dd0f4a3ef53e87e4 (patch)
tree7ac9213f662bbcbdace68fbf4810bd328e68557b /reset.c
parent86ed00aff4b86eed6ecc606e9d5f7828a1dca353 (diff)
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.c')
0 files changed, 0 insertions, 0 deletions