Skip to content

git-backport: Confirm hashes are minimum 12 chars

Prarit Bhargava requested to merge prarit/tools:issue3 into main

The fixes checking code doesn't work if the supplied hash is less than 12
chars. This occurs because the fixes code greps for a 12-char hash, and
the grep will never return if the supplied hashes are less than 12-chars.

Set the hashes in the tmp files to a minimum length of 12 chars.

Additional fix: fix comment tabbing

Reported-by: David Arcari darcari@redhat.com
Signed-off-by: Prarit Bhargava prarit@redhat.com

Edited by Prarit Bhargava

Merge request reports