You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
repo = Repo(".")
diff_list = repo.commit("HEAD").diff("HEAD~1")
for diff_file in diff_list:
file_path = diff_file.b_path
# this means that the file has been deleted.
if not diff_file.deleted_file:
logger.info(f"The usecase in the file path {file_path} has been deleted.")
continue
The requirements:
GitPython==3.1.31
The text was updated successfully, but these errors were encountered:
Git diff deleted_file is returning:
The code:
The requirements:
The text was updated successfully, but these errors were encountered: