Re: [PATCH v2] Support "core.excludesfile = ~/.gitignore"
- From
- Karl Chen <quarl@cs.berkeley.edu>
- Date
- Aug 27, 2008, 03:12 UTC
- Message-ID
- <quack.20080826T2012.lthvdxn2ls4@roar.cs.berkeley.edu>
- In-Reply-To
- <20080827002506.GB7347@coredump.intra.peff.net>
>>>>> 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?