armbian-next: patching: don't gag if empty hexsha / no archeology possible
This commit is contained in:
parent
353bf93bb5
commit
a57e128cfa
@ -707,7 +707,9 @@ def perform_git_archeology(
|
||||
log.info(f"- Trying to recover description for {relative_file_path} from {len(hexshas)} commits")
|
||||
|
||||
# filter out hexshas that are in the known-bad archeology list
|
||||
hexshas = [hexsha for hexsha in hexshas if hexsha not in bad_archeology_hexshas]
|
||||
hexshas = [hexsha for hexsha in hexshas if hexsha.strip() != '' and hexsha not in bad_archeology_hexshas]
|
||||
|
||||
log.debug(f"hexshas: {hexshas}")
|
||||
|
||||
commits = [armbian_git_repo.rev_parse(c) for c in hexshas]
|
||||
all_commits.extend(commits)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user