diff options
author | Jeff King <peff@peff.net> | 2015-08-10 05:32:30 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2015-08-10 15:15:42 -0700 |
commit | bc192300c49a32e1ef297dc3fa78a101f28e2a4c (patch) | |
tree | c543aa0bbcceebeb50eee2ab93c73337e3c1bdb6 /sha1_file.c | |
parent | cache.h: complete set of git_path_submodule helpers (diff) | |
download | tgif-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 'sha1_file.c')
0 files changed, 0 insertions, 0 deletions