summaryrefslogtreecommitdiff
path: root/contrib/examples/git-reset.sh
diff options
context:
space:
mode:
authorLibravatar Erik Faye-Lund <kusmabite@gmail.com>2012-05-30 18:39:42 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2012-05-30 11:59:08 -0700
commit9180feafbc7c637a4fae72d1ca1d3b2245b4302c (patch)
tree8975a43b9afb82e8a9821413500c6523214c4425 /contrib/examples/git-reset.sh
parentrebase: factor out reference parsing (diff)
downloadtgif-9180feafbc7c637a4fae72d1ca1d3b2245b4302c.tar.xz
rebase: report invalid commit correctly
In 9765b6a (rebase: align variable content, 2011-02-06), the code to error out was moved up one level. Unfortunately, one reference to a function parameter wasn't rewritten as it should, leading to the wrong parameter being errored on. This error was propagated by 71786f5 (rebase: factor out reference parsing, 2011-02-06) and merged in 78c6e0f (Merge branch 'mz/rebase', 2011-04-28). Correct this by reporting $onto_name istead. Reported-By: Manuela Hutter <manuelah@opera.com> Signed-off-by: Erik Faye-Lund <kusmabite@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib/examples/git-reset.sh')
0 files changed, 0 insertions, 0 deletions