aboutsummaryrefslogtreecommitdiffstats
path: root/commit-graph.c
diff options
context:
space:
mode:
authorTaylor Blau <me@ttaylorr.com>2023-07-24 12:39:28 -0400
committerJunio C Hamano <gitster@pobox.com>2023-07-24 14:35:22 -0700
commit51550d03e438bfcb83bec7665baec2378f931a80 (patch)
tree570a957b035b2b866cacb2ff63652cfc1252b366 /commit-graph.c
parentt/lib-commit-graph.sh: avoid directory change in `graph_git_behavior()` (diff)
downloadgit-51550d03e438bfcb83bec7665baec2378f931a80.tar.gz
git-51550d03e438bfcb83bec7665baec2378f931a80.zip
t5318: avoid top-level directory changes
Avoid changing the current working directory from outside of a sub-shell during the tests in t5318. Each test has mostly straightforward changes, either: - Removing the top-level `cd "$TRASH_DIRECTORY/full"`, which is unnecessary after ensuring that other tests don't change their working directory outside of a sub-shell. - Changing any Git invocations which want to be in a sub-directory by either (a) adding a "-C $DIR" argument, or (b) moving the whole test into a sub-shell. While we're here, remove any explicit "git config core.commitGraph true" invocations which were designed to enable use of the commit-graph. These are unnecessary following 31b1de6a09b (commit-graph: turn on commit-graph by default, 2019-08-13). Signed-off-by: Taylor Blau <me@ttaylorr.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit-graph.c')
0 files changed, 0 insertions, 0 deletions