From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS31976 209.132.180.0/23 X-Spam-Status: No, score=-4.6 required=3.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD shortcircuit=no autolearn=ham autolearn_force=no version=3.4.0 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by dcvr.yhbt.net (Postfix) with ESMTP id 5531F1F6BF for ; Fri, 9 Sep 2016 18:06:41 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754077AbcIISGj (ORCPT ); Fri, 9 Sep 2016 14:06:39 -0400 Received: from pb-smtp1.pobox.com ([64.147.108.70]:50077 "EHLO sasl.smtp.pobox.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753520AbcIISGi (ORCPT ); Fri, 9 Sep 2016 14:06:38 -0400 Received: from sasl.smtp.pobox.com (unknown [127.0.0.1]) by pb-smtp1.pobox.com (Postfix) with ESMTP id 382573AD01; Fri, 9 Sep 2016 14:06:37 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; s=sasl; bh=ntX7f7T7GwUwXlRryoizP6aZ/u4=; b=ctdlHb +XP01baM3qa9z2sDoJV5ITohaFznWlWKCumXfgSQqtXN+2JeZrlUk/3Nz77ih9sU Jl4Tzu5IHZGPRsfxYsmeMiS4HKDK2paW9GMrIZe02S1Ks/QgJKKy431wSzCFCbfa JbV7mX/HAIPSZ8RxuBzWvORU40ly1tzszE80Y= DomainKey-Signature: a=rsa-sha1; c=nofws; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; q=dns; s=sasl; b=ryITRQt9cbwn0TwNPe6D38qvOKGzeOO2 SA+7Gt6OrlIQXuIf7ldHeIUbzrgKJ1X10TRzN01MmB9/oM1UrCj4ayC0kAOFZ3WS WBekX3ejyD/ivkmjsoQLxhqN6a2uyJAUZZ3D7jVCCxwcLczHajFJqVdKH1+yN49q PnrjwM1q2+E= Received: from pb-smtp1.nyi.icgroup.com (unknown [127.0.0.1]) by pb-smtp1.pobox.com (Postfix) with ESMTP id 2FCC03AD00; Fri, 9 Sep 2016 14:06:37 -0400 (EDT) Received: from pobox.com (unknown [104.132.0.95]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by pb-smtp1.pobox.com (Postfix) with ESMTPSA id AE8B13ACFE; Fri, 9 Sep 2016 14:06:36 -0400 (EDT) From: Junio C Hamano To: Johannes Schindelin Cc: git@vger.kernel.org, Torsten =?utf-8?Q?B=C3=B6gershausen?= , Jeff King Subject: Re: [PATCH v3 3/4] cat-file --textconv/--filters: allow specifying the path separately References: <9e01395c0732b47b382d2363a2ef6f4bf361666e.1473415827.git.johannes.schindelin@gmx.de> Date: Fri, 09 Sep 2016 11:06:34 -0700 In-Reply-To: <9e01395c0732b47b382d2363a2ef6f4bf361666e.1473415827.git.johannes.schindelin@gmx.de> (Johannes Schindelin's message of "Fri, 9 Sep 2016 12:10:50 +0200 (CEST)") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Pobox-Relay-ID: 262CC80A-76B8-11E6-8487-F7BB12518317-77302942!pb-smtp1.pobox.com Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org Johannes Schindelin writes: > +test_expect_success '----path= complains without --textconv/--filters' ' I wonder where this "----path" came from; it wasn't in v2 I queued, but somehow came back mysteriously. Will locally amend. > + sha1=$(git rev-parse -q --verify HEAD:world.txt) && > + test_must_fail git cat-file --path=hello.txt blob $sha1 >actual 2>err && > + test ! -s actual && > + grep "path.*needs.*filters" err > +' > + > test_done