summaryrefslogtreecommitdiff
path: root/t.py
diff options
context:
space:
mode:
authorYobmod <yobmod@gmail.com>2021-07-28 20:41:16 +0100
committerYobmod <yobmod@gmail.com>2021-07-28 20:41:16 +0100
commit070f5c0d1f06d3e15ec5aa841b96fa2a1fdb7bf4 (patch)
treef9bcfe86056b61b4317293418843502358810c5f /t.py
parent390efbf521d62d9cb188c7688288878ef1b1b45d (diff)
downloadgitpython-070f5c0d1f06d3e15ec5aa841b96fa2a1fdb7bf4.tar.gz
Rmv test file
Diffstat (limited to 't.py')
-rw-r--r--t.py9
1 files changed, 0 insertions, 9 deletions
diff --git a/t.py b/t.py
deleted file mode 100644
index 560e420e..00000000
--- a/t.py
+++ /dev/null
@@ -1,9 +0,0 @@
-from git import Repo
-
-
-def get_active_branch(gitobj: Repo) -> str:
- return gitobj.active_branch.name
-
-
-gitobj = Repo(".")
-print(get_active_branch(gitobj))