gitwise-cli 0.24.2__py3-none-any.whl → 0.24.3__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- gitwise/__init__.py +1 -1
- gitwise/git.py +19 -11
- {gitwise_cli-0.24.2.dist-info → gitwise_cli-0.24.3.dist-info}/METADATA +1 -1
- {gitwise_cli-0.24.2.dist-info → gitwise_cli-0.24.3.dist-info}/RECORD +7 -7
- {gitwise_cli-0.24.2.dist-info → gitwise_cli-0.24.3.dist-info}/WHEEL +0 -0
- {gitwise_cli-0.24.2.dist-info → gitwise_cli-0.24.3.dist-info}/entry_points.txt +0 -0
- {gitwise_cli-0.24.2.dist-info → gitwise_cli-0.24.3.dist-info}/licenses/LICENSE +0 -0
gitwise/__init__.py
CHANGED
gitwise/git.py
CHANGED
|
@@ -64,17 +64,25 @@ def run(
|
|
|
64
64
|
cmd_name = args[0] if args else None
|
|
65
65
|
actual_timeout = timeout if timeout is not None else _get_timeout(cmd_name)
|
|
66
66
|
debug(f"git {' '.join(args)}")
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
67
|
+
try:
|
|
68
|
+
return subprocess.run(
|
|
69
|
+
["git"] + args,
|
|
70
|
+
capture_output=True,
|
|
71
|
+
text=True,
|
|
72
|
+
encoding="utf-8",
|
|
73
|
+
errors="replace",
|
|
74
|
+
cwd=cwd,
|
|
75
|
+
check=check,
|
|
76
|
+
env=_GIT_ENV,
|
|
77
|
+
timeout=actual_timeout,
|
|
78
|
+
)
|
|
79
|
+
except FileNotFoundError:
|
|
80
|
+
return subprocess.CompletedProcess(
|
|
81
|
+
args=["git", *args],
|
|
82
|
+
returncode=127,
|
|
83
|
+
stdout="",
|
|
84
|
+
stderr="git executable not found in PATH",
|
|
85
|
+
)
|
|
78
86
|
|
|
79
87
|
|
|
80
88
|
def config(key: str, cwd: Path | None = None) -> str | None:
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
gitwise/__init__.py,sha256=
|
|
1
|
+
gitwise/__init__.py,sha256=c091KEBVZAOtNRfMPa_nRq0FWyt5aSi9iQjwg5KH6Ck,267
|
|
2
2
|
gitwise/__main__.py,sha256=2GuRJ3LysuDIHrMYryXqJCKFe6EtxgmGwg7nXQEmGyw,2897
|
|
3
3
|
gitwise/_cli_completions.py,sha256=85-aF5I-SFFehbSDvrj22eFb3DYiHiNxpwr6GxW0B4Q,3091
|
|
4
4
|
gitwise/_cli_dispatch.py,sha256=x75GaHWYS_Hcem0XvKVL1cB-dS0Q_d6_u3k00KZk6GU,12150
|
|
@@ -17,7 +17,7 @@ gitwise/context.py,sha256=rxeZNso-BfqTpYTMomGzx2Q85nojJpoHfMk3CYmV2Vw,5454
|
|
|
17
17
|
gitwise/design.py,sha256=lr7R6PaUTOGNyY8bPHU-soG8FV0Zsf3cBkRZkyUWuBk,11156
|
|
18
18
|
gitwise/diff.py,sha256=jXG02qu4pNjae9scGnrs27cNpz1BEYB8hLTvrXuYxW4,8843
|
|
19
19
|
gitwise/doctor.py,sha256=z6EpxrBbdXtb1kMiCT1qPBiqwZCrmXjkik0gnUvHp-g,3848
|
|
20
|
-
gitwise/git.py,sha256=
|
|
20
|
+
gitwise/git.py,sha256=2eC1H_NS_kgriPKiBfWGXPEQwajvciVN4IkMP2X0Z2Y,7535
|
|
21
21
|
gitwise/health.py,sha256=02PFdcP0Mb67M4fVdBI7rEYbknVMHKUdHisTQYjE-Uw,9562
|
|
22
22
|
gitwise/i18n.py,sha256=9tEI-xs6lUdku3NnqMGwtM7Ck6AlUSm7nrPd95yzXcg,2448
|
|
23
23
|
gitwise/log.py,sha256=gaPTDW12ZVDR1dPSdJbCx7d9hhyg5HPsUs85WC4ErHo,9149
|
|
@@ -118,8 +118,8 @@ gitwise/share/schemas/v1/input/tag.json,sha256=KmrCyqcJsJU_uDhNba_KYpAkYg7vIlQac
|
|
|
118
118
|
gitwise/share/schemas/v1/input/undo.json,sha256=PRab96r2e1iU2FN8yBV_njgly_-7lm7Vy4KcMh3NMQ4,1406
|
|
119
119
|
gitwise/share/schemas/v1/input/update.json,sha256=OmuSgSp_USg2f45mywnSpxUB0NMSn_lQDLC4yDzCopo,911
|
|
120
120
|
gitwise/share/schemas/v1/input/worktree.json,sha256=rKKOtWyAgARIa-b-Raw7ZNPqKkO7DlPd7PE1c0flRDs,1063
|
|
121
|
-
gitwise_cli-0.24.
|
|
122
|
-
gitwise_cli-0.24.
|
|
123
|
-
gitwise_cli-0.24.
|
|
124
|
-
gitwise_cli-0.24.
|
|
125
|
-
gitwise_cli-0.24.
|
|
121
|
+
gitwise_cli-0.24.3.dist-info/METADATA,sha256=1ckjqbI4RZIXOKeYmL9voGvITJBEHgXUf_CIBWicR7c,5714
|
|
122
|
+
gitwise_cli-0.24.3.dist-info/WHEEL,sha256=mffPy8wBnZQn2VnJUU5jE99KsxaSfiyMHV9Yt0aLVxs,87
|
|
123
|
+
gitwise_cli-0.24.3.dist-info/entry_points.txt,sha256=rGwxSDmUHtzlY6yp7KeMJhRARijXkSE6OKuOJ8PF51E,50
|
|
124
|
+
gitwise_cli-0.24.3.dist-info/licenses/LICENSE,sha256=vfJO-ThMtWhZOD9MsArN2yul1EJmxAXxfeGHKnEk9QQ,1063
|
|
125
|
+
gitwise_cli-0.24.3.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|