summaryrefslogtreecommitdiff
path: root/t/t9813-git-p4-preserve-users.sh
diff options
context:
space:
mode:
authorLibravatar Jeff King <peff@peff.net>2015-08-10 05:32:30 -0400
committerLibravatar Junio C Hamano <gitster@pobox.com>2015-08-10 15:15:42 -0700
commitbc192300c49a32e1ef297dc3fa78a101f28e2a4c (patch)
treec543aa0bbcceebeb50eee2ab93c73337e3c1bdb6 /t/t9813-git-p4-preserve-users.sh
parentcache.h: complete set of git_path_submodule helpers (diff)
downloadtgif-bc192300c49a32e1ef297dc3fa78a101f28e2a4c.tar.xz
t5700: modernize style
The early part of this test is rather old, and does not follow our usual style guidelines. In particular: - the tests liberally chdir, and expect out-of-test "cd" commands to return them to a sane state - test commands aren't indented at all - there are a lot of minor formatting nits, like the opening quote of the test block on the wrong line, spaces after ">", etc This patch fixes the style issues, and uses a few helper functions, along with subshells and "git -C", to avoid changing the cwd of the main script. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t9813-git-p4-preserve-users.sh')
0 files changed, 0 insertions, 0 deletions