diff options
| author | Jeff King <peff@peff.net> | 2012-07-26 16:27:55 -0400 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2012-07-26 14:23:35 -0700 |
| commit | a9ebc43bd07e219922d1dab17df319f1cae5d600 (patch) | |
| tree | 3563597d9fcec455990e8e8111fe60c70b979ae3 /gitweb/static/js | |
| parent | 18502e36061bb91131628032b5c46ea4fc8f18a3 (diff) | |
t7502: clean up fake_editor tests
Using write_script saves us a few lines of code, and means
we consistently use $SHELL_PATH.
We can also drop the setting of the $pwd variable from
$(pwd). In the first instance, there is no reason to use it
(we can just use $(pwd) directly two lines later, since we
are interpolating the here-document). In the second
instance, it is totally pointless and probably just a
cut-and-paste from the first instance.
Finally, we can use a non-interpolating here document for
the final script, which saves some quoting.
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'gitweb/static/js')
0 files changed, 0 insertions, 0 deletions
