From mboxrd@z Thu Jan 1 00:00:00 1970 From: Karl Chen Subject: Re: [PATCH v2] Support "core.excludesfile = ~/.gitignore" Date: Tue, 26 Aug 2008 20:12:59 -0700 Message-ID: References: <7vsksw92nh.fsf@gitster.siamese.dyndns.org> <7vprnyqo59.fsf@gitster.siamese.dyndns.org> <20080824220854.GA27299@coredump.intra.peff.net> <7vzln2j9y2.fsf@gitster.siamese.dyndns.org> <20080824231343.GC27619@coredump.intra.peff.net> <7vhc9aj82i.fsf@gitster.siamese.dyndns.org> <20080827002506.GB7347@coredump.intra.peff.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Junio C Hamano , git@vger.kernel.org To: Jeff King X-From: git-owner@vger.kernel.org Wed Aug 27 05:14:16 2008 Return-path: Envelope-to: gcvg-git-2@gmane.org Received: from vger.kernel.org ([209.132.176.167]) by lo.gmane.org with esmtp (Exim 4.50) id 1KYBU3-0004hB-JK for gcvg-git-2@gmane.org; Wed, 27 Aug 2008 05:14:12 +0200 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752838AbYH0DNA (ORCPT ); Tue, 26 Aug 2008 23:13:00 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752832AbYH0DNA (ORCPT ); Tue, 26 Aug 2008 23:13:00 -0400 Received: from roar.CS.Berkeley.EDU ([128.32.36.242]:37827 "EHLO roar.quarl.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752655AbYH0DNA (ORCPT ); Tue, 26 Aug 2008 23:13:00 -0400 Received: by roar.quarl.org (Postfix, from userid 18378) id B9DAD3459B; Tue, 26 Aug 2008 20:12:59 -0700 (PDT) X-Quack-Archive: 1 In-Reply-To: <20080827002506.GB7347@coredump.intra.peff.net> (Jeff King's message of "Tue\, 26 Aug 2008 20\:25\:06 -0400") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux) Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org Archived-At: >>>>> On 2008-08-26 17:25 PDT, Jeff King writes: Jeff> 1. It should probably re-use path.c:user_path, as Jeff> Johannes mentioned. That function has the wrong interface for this task (requires extra strdup, imposes PATH_MAX, conflates all error conditions into returning NULL, also returns NULL if input doesn't have "~"). Do you still think it should re-use that function?