8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Currently git is a requirement as it required by gitpython and we run git-related command unconditionally. However, not everyone use git.
git
gitpython
This could lead to this kind of error:
Traceback (most recent call last): [432/1843] File "/home/pure/.pure//pure/prompt.py", line 45, in <module> prompt(parser.parse_args()) File "/home/pure/.pure//pure/prompt.py", line 16, in prompt 'git_is_dirty': repository.IsDirty(os.getcwd()).segment(), File "/home/pure/.pure/pure/repository.py", line 46, in segment 'text': self.raw(), File "/home/pure/.pure/pure/repository.py", line 40, in raw return '*' if self.repo.is_dirty(untracked_files=True) else constants.NOTHING File "/usr/lib/python3.10/site-packages/git/repo/base.py", line 646, in is_dirty len(self.git.diff('--cached', *default_args)): File "/usr/lib/python3.10/site-packages/git/cmd.py", line 542, in <lambda> return lambda *args, **kwargs: self._call_process(name, *args, **kwargs) File "/usr/lib/python3.10/site-packages/git/cmd.py", line 1005, in _call_process return self.execute(call, **exec_kwargs) File "/usr/lib/python3.10/site-packages/git/cmd.py", line 822, in execute raise GitCommandError(command, status, stderr_value, stdout_value) git.exc.GitCommandError: Cmd('git') failed due to: exit code(129) cmdline: git diff --cached --abbrev=40 --full-index --raw stderr: 'error: unknown option `cached' usage: git diff --no-index [<options>] <path> <path>
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Currently
git
is a requirement as it required bygitpython
and we rungit
-related command unconditionally. However, not everyone usegit
.This could lead to this kind of error:
The text was updated successfully, but these errors were encountered: