summaryrefslogtreecommitdiff
path: root/git-merge-one-file.sh
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2012-07-26 20:27:55 (GMT)
committerJunio C Hamano <gitster@pobox.com>2012-07-26 21:23:35 (GMT)
commita9ebc43bd07e219922d1dab17df319f1cae5d600 (patch)
tree3563597d9fcec455990e8e8111fe60c70b979ae3 /git-merge-one-file.sh
parent18502e36061bb91131628032b5c46ea4fc8f18a3 (diff)
downloadgit-a9ebc43bd07e219922d1dab17df319f1cae5d600.zip
git-a9ebc43bd07e219922d1dab17df319f1cae5d600.tar.gz
git-a9ebc43bd07e219922d1dab17df319f1cae5d600.tar.bz2
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 'git-merge-one-file.sh')
0 files changed, 0 insertions, 0 deletions