aboutsummaryrefslogtreecommitdiff
path: root/delivery_merge/git.py
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2019-05-07 00:22:20 -0400
committerJoseph Hunkeler <jhunkeler@gmail.com>2019-05-07 00:22:28 -0400
commit36740d90353c92e814917a0688764875fda49558 (patch)
treea2029b8a3d5e32a622ba3f37185c78be82379548 /delivery_merge/git.py
parent502bb16cab44aed9e36b6052f725a994b1ffab16 (diff)
downloaddelivery_merge-36740d90353c92e814917a0688764875fda49558.tar.gz
Refactor:
* Remove git.py * Replace duplicate code with simple wrapper * Add README.md * Add LICENSE.txt
Diffstat (limited to 'delivery_merge/git.py')
-rw-r--r--delivery_merge/git.py11
1 files changed, 0 insertions, 11 deletions
diff --git a/delivery_merge/git.py b/delivery_merge/git.py
deleted file mode 100644
index 9e8aa6a..0000000
--- a/delivery_merge/git.py
+++ /dev/null
@@ -1,11 +0,0 @@
-from subprocess import run
-
-def git(*args):
- command = ['git']
- tmp = []
- for arg in args:
- tmp += arg.split()
-
- command += tmp
- print(f'Running: {" ".join(command)}')
- return run(command, capture_output=True)