We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 242725a commit eb3173eCopy full SHA for eb3173e
1 file changed
src/gitfetch/cli.py
@@ -201,6 +201,7 @@ def main() -> int:
201
202
# Check for --local flag
203
if args.local:
204
+ import os
205
if not os.path.exists('.git'):
206
print("Error: --local requires .git folder", file=sys.stderr)
207
return 1
0 commit comments