Labels: Type-Defect Priority-Medium
New issue 1524 by emil.sit: postreview.py should ignore user configuration
when generating diffs.
*NOTE: Do not post confidential information in this bug report.*
What version are you running?
What steps will reproduce the problem?
1. git config diff.external /bin/does-not-exist
What is the expected output? What do you see instead?
Expect that a normal diff should be produced and uploaded.
$ postreview.py -d --guess-description --guess-summary
git rev-parse --git-dir
git symbolic-ref -q HEAD
git svn info
git svn --version
git config --get svn-remote.svn.url
git config --get branch.for-review.merge
git config --get branch.for-review.remote
git config remote.origin.url
repository info: Path: git://internal/test.git, Base path: , Supports
git config --get reviewboard.url
git merge-base origin/master refs/heads/for-review
git diff --no-color --full-index
Failed to execute command: ['git', 'diff', '--no-color', '--full-index',
error: cannot run /bin/does-not-exist: No such file or directory
external diff died, stopping at test/a.txt.
[This log was manually edited diff; real results may vary.]
What operating system are you using? What browser?
Please provide any additional information below.
Probably the best solution is to set GIT_CONFIG_NOSYSTEM and
GIT_CONFIG_NOGLOBAL to insulate usage of git from any system/user/repo-
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
You received this message because you are subscribed to the Google Groups
To post to this group, send email to reviewboard-iss...@googlegroups.com.
To unsubscribe from this group, send email to
For more options, visit this group at