[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <000d01d4bf9b$d5d48da0$817da8e0$@nexbridge.com>
Date: Fri, 8 Feb 2019 05:48:27 -0500
From: "Randall S. Becker" <rsbecker@...bridge.com>
To: "'Junio C Hamano'" <gitster@...ox.com>, <git@...r.kernel.org>
Cc: "'Linux Kernel'" <linux-kernel@...r.kernel.org>,
<git-packagers@...glegroups.com>
Subject: [Breakage] Git v2.21.0-rc0 - t5403 (NonStop)
Hi All,
We have a few new breakages on the NonStop port in 2.21.0-rc0. The first is in t5403, as below:
/home/git/git/t/trash directory.t5403-post-checkout-hook/clone3/.git/hooks/post-checkout: line 2: $GIT_DIR/post-checkout.args: ambiguous redirect
not ok 8 - post-checkout hook is triggered by clone
#
# mkdir -p templates/hooks &&
# write_script templates/hooks/post-checkout <<-\EOF &&
# echo "$@" >$GIT_DIR/post-checkout.args
# EOF
# git clone --template=templates . clone3 &&
# test -f clone3/.git/post-checkout.args
#
The post-checkout hook is:
#!/usr/local/bin/bash
echo "$@" >$GIT_DIR/post-checkout.args
This looks like it is a "bash thing" and $GIT_DIR might have to be in quotes, and is not be specific to the platform. If I replace
echo "$@" >$GIT_DIR/post-checkout.args
with
echo "$@" >"$GIT_DIR/post-checkout.args"
The test passes. I wonder I should provide this patch or whether the author would like to do so.
Thanks,
Randall
Powered by blists - more mailing lists