summaryrefslogtreecommitdiff
path: root/iterator.h
diff options
context:
space:
mode:
authorLibravatar René Scharfe <l.s.r@web.de>2021-01-01 00:55:12 +0100
committerLibravatar Junio C Hamano <gitster@pobox.com>2021-01-04 15:24:13 -0800
commitca5120c339de883c3f22161316416c91655651ab (patch)
treed7f6ec3064bfcef21becfb2e21d619aa669a7c5b /iterator.h
parentGit 2.29.2 (diff)
downloadtgif-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