some improvements

This commit is contained in:
KubaPro010
2025-11-14 22:47:39 +01:00
parent 9ce9a0ff44
commit 4d7d59ee93
2 changed files with 54 additions and 72 deletions

7
test2.py Normal file
View File

@@ -0,0 +1,7 @@
from gitapi import *
repo = Git(r"C:\Users\Kuba\AppData\Local\Temp\git\new")
head, _ = repo.get_head()
print(head)
commit = repo.get_object(head, load_data=True)
print(commit.tree.files)