]> git.ipfire.org Git - thirdparty/git.git/commit
rebase: use lookup_commit_reference_by_name()
authorPhillip Wood <phillip.wood@dunelm.org.uk>
Tue, 21 Sep 2021 10:24:06 +0000 (10:24 +0000)
committerJunio C Hamano <gitster@pobox.com>
Wed, 22 Sep 2021 19:04:52 +0000 (12:04 -0700)
commit1d188263e0847fd356d7ff245c32e8ebb29115b3
tree9ed10365f9b76114f9fa6e2ab9858b1acf215bd6
parent35f070b4de8fa01c11d9478297ea074d633bd7d5
rebase: use lookup_commit_reference_by_name()

peel_committish() appears to have been copied from the scripted rebase
but it duplicates the functionality of
lookup_commit_reference_by_name() so lets use that instead.

Signed-off-by: Phillip Wood <phillip.wood@dunelm.org.uk>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/rebase.c