From: Johannes Sixt Date: Tue, 26 Aug 2008 06:42:18 GMT Subject: Re: [PATCH v2] Support "core.excludesfile = ~/.gitignore" Message-ID: <48B3A5CA.6090201@viscovery.net> In-Reply-To: Karl Chen schrieb: > +/* > + * Expand ~ and ~user. Returns a newly malloced string. (If input does not > + * start with "~", equivalent to xstrdup.) > + */ > +static char *expand_userdir(const char *value) { There is user_path() in path.c that does the same thing. Watch your style: The opening brace of functions is on the next line. -- Hannes