Skip to content

Commit

Permalink
docs: --no-git
Browse files Browse the repository at this point in the history
  • Loading branch information
laorange committed Dec 13, 2022
1 parent be785f3 commit a204ba0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stoken/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def get_git_repo() -> Union[git.repo.base.Repo, None]:
if (git_dev / ".git").exists():
try:
repo = git.repo.base.Repo(git_dev)
print(f"Found git root: {repo.git_dir}")
print(f"Found git root: {repo.git_dir}. If there's no need to detect ignored files in git, use the option `--no-git`.")
return repo
except:
return None
Expand Down

0 comments on commit a204ba0

Please sign in to comment.