diff options
author | René Scharfe <l.s.r@web.de> | 2021-01-01 00:55:12 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-01-04 15:24:13 -0800 |
commit | ca5120c339de883c3f22161316416c91655651ab (patch) | |
tree | d7f6ec3064bfcef21becfb2e21d619aa669a7c5b /iterator.h | |
parent | Git 2.29.2 (diff) | |
download | tgif-ca5120c339de883c3f22161316416c91655651ab.tar.xz |
rebase: verify commit parameter
If the user specifies a base commit to switch to, check if it actually
references a commit right away to avoid getting confused later on when
it turns out to be an invalid object.
Reported-by: LeSeulArtichaut <leseulartichaut@gmail.com>
Signed-off-by: René Scharfe <l.s.r@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'iterator.h')
0 files changed, 0 insertions, 0 deletions