From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id D0B00C169C4 for ; Fri, 8 Feb 2019 10:57:36 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 9BB7321924 for ; Fri, 8 Feb 2019 10:57:36 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727723AbfBHK5f convert rfc822-to-8bit (ORCPT ); Fri, 8 Feb 2019 05:57:35 -0500 Received: from elephants.elehost.com ([216.66.27.132]:40007 "EHLO elephants.elehost.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726068AbfBHK5e (ORCPT ); Fri, 8 Feb 2019 05:57:34 -0500 X-Greylist: delayed 535 seconds by postgrey-1.27 at vger.kernel.org; Fri, 08 Feb 2019 05:57:34 EST X-Virus-Scanned: amavisd-new at elehost.com Received: from gnash (CPE00fc8d49d843-CM00fc8d49d840.cpe.net.cable.rogers.com [99.229.179.249]) (authenticated bits=0) by elephants.elehost.com (8.15.2/8.15.2) with ESMTPSA id x18AmXPu056524 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Fri, 8 Feb 2019 05:48:34 -0500 (EST) (envelope-from rsbecker@nexbridge.com) From: "Randall S. Becker" To: "'Junio C Hamano'" , Cc: "'Linux Kernel'" , Subject: [Breakage] Git v2.21.0-rc0 - t5403 (NonStop) Date: Fri, 8 Feb 2019 05:48:27 -0500 Message-ID: <000d01d4bf9b$d5d48da0$817da8e0$@nexbridge.com> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT X-Mailer: Microsoft Outlook 16.0 Thread-Index: AdS/m9I5LMkrDCGOS9SxOi9MRSn8xA== Content-Language: en-ca Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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