summaryrefslogtreecommitdiff
path: root/objects/commit.py
diff options
context:
space:
mode:
authorArnaud Patard <apatard@hupstream.com>2020-09-28 12:24:33 +0000
committerSebastian Thiel <sebastian.thiel@icloud.com>2020-09-28 20:39:17 +0800
commit624eb284e0e6edc4aabf0afbdc1438e32d13f4c9 (patch)
tree13a8ccb9c89bf5a1e308da4e0521974eedb1076f /objects/commit.py
parent135e7750f6b70702de6ce55633f2e508188a5c05 (diff)
downloadgitpython-624eb284e0e6edc4aabf0afbdc1438e32d13f4c9.tar.gz
git/repo/base.py: is_dirty(): Fix pathspec handling
It's possible to specify a pathspec (eg :!foo) to git diff/status/... but it currently fails with: git.exc.GitCommandError: Cmd('/usr/bin/git') failed due to: exit code(128) cmdline: /usr/bin/git diff --abbrev=40 --full-index --raw :!foo stderr: 'fatal: ambiguous argument ':!foo': unknown revision or path not in the working tree. Add missing '--' to the arguments to fix this ambiguity Signed-off-by: Arnaud Patard <apatard@hupstream.com>
Diffstat (limited to 'objects/commit.py')
0 files changed, 0 insertions, 0 deletions