diff options
author | Jeff King <peff@peff.net> | 2016-09-12 20:23:22 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2016-09-13 15:45:45 -0700 |
commit | 4a73aaaf18099ec1897330dd6c4a09f10ea2f573 (patch) | |
tree | f536c7e74925810fe3b58b1ec3e9c06495b4e903 /t/t6004-rev-list-path-optim.sh | |
parent | hash-object: always try to set up the git repository (diff) | |
download | tgif-4a73aaaf18099ec1897330dd6c4a09f10ea2f573.tar.xz |
patch-id: use RUN_SETUP_GENTLY
Patch-id does not require a repository because it is just
processing the incoming diff on stdin, but it may look at
git config for keys like patchid.stable.
Even though we do not setup_git_directory(), this works from
the top-level of a repository because we blindly look at
".git/config" in this case. But as the included test
demonstrates, it does not work from a subdirectory.
We can fix it by using RUN_SETUP_GENTLY. We do not take any
filenames from the user on the command line, so there's no
need to adjust them via prefix_filename().
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t6004-rev-list-path-optim.sh')
0 files changed, 0 insertions, 0 deletions