Galan Rémi remi.galan-alfo...@ensimag.grenoble-inp.fr writes:
I used:
read -r command sha1 rest EOF
$line
EOF
because
printf '%s' $line | read -r command sha1 rest
doesn't work (the 3 variables have no value as a result).
There might be a better way to do this, but I
Junio C Hamano gits...@pobox.com writes:
Galan Rémi remi.galan-alfo...@ensimag.grenoble-inp.fr writes:
I used:
read -r command sha1 rest EOF
$line
EOF
because
printf '%s' $line | read -r command sha1 rest
doesn't work (the 3 variables have no value as a result).
Check before the start of the rebasing if the commands exists, and for
the commands expecting a SHA-1, check if the SHA-1 is present and
corresponds to a commit. In case of error, print the error, stop git
rebase and prompt the user to fix with 'git rebase --edit-todo' or to
abort.
This allows to
3 matches
Mail list logo